This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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>.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]