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

AltStyle によって変換されたページ (->オリジナル) /