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

Paul Gear paul@gear.dyndns.org
Mon May 24 14:16:00 GMT 2004


Hi folks,
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?
I need to store a struct defined in an external library within the
object. Can i just define a field that is of type Object and then use
that as a pointer? If i do this, do i need to use special malloc/free
routines?
Thanks in advance,
Paul
http://paulgear.webhop.net
-- 
Think context! Using accepted quoting conventions makes
your email easier to understand. Learn how at
<http://www.netmeister.org/news/learn2quote.html>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/java/attachments/20040524/48db2240/attachment.sig>


More information about the Java mailing list

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