Etienne Gagnon writes:
 > Andrew Haley wrote:
 > > Well, not exactly: I'm suggesting that we wrap all those longs in an
 > > opaque type.  But otherwise, yes.
 > 
 > So, how do you do opaque types, in Java?  

You write the code using a class that wraps your native pointer: a
class with a single member.

 > And how do you guarantee portability to 128bit systems?

You tell people "if you have a pointer that won't fit in a jlong,
you'll need to change three lines of code".

Andrew.


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to