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

Tom Tromey tromey@redhat.com
Mon May 24 19:35:00 GMT 2004


>>>>> "Paul" == Paul Gear <paul@gear.dyndns.org> writes:

Paul> I've searched the archives & Google without finding an answer to this
Paul> question: is it possible using CNI to store C++ data in the object as an
Paul> instance field?
Yes, declare a field of type gnu.gcj.RawData. You can use this as a
pointer to arbitrary data. This field will not be scanned by the GC.
Tom


More information about the Java mailing list

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