Storing C++ data in an instance field using CNI?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon May 24 16:45:00 GMT 2004


On May 24, 2004, at 8:06 AM, Paul Gear wrote:

> I've searched the archives & Google without finding an answer to this
> question: is it possible using CNI to store C++ data in the object as 
> an
> instance field?

You can do this with the RawData type. See:

http://gcc.gnu.org/onlinedocs/gcj/Mixing-with-C--.html

Regards

Bryce



More information about the Java mailing list