>>>>> "Brian" == Brian Jones <[EMAIL PROTECTED]> writes:

Brian> I was wondering if any of you have great ideas for how to
Brian> handle these opaque structures defined in a typical jni.h.
Brian> typedef struct _jfieldID *jfieldID;
Brian> typedef struct _jmethodID *jmethodID;

Just define them as `void *'.
Or define them the way you have them now.

Brian> I am currently thinking something like this in jni.h
Brian> #include "jni_vm.h"
Brian> typedef JFIELD_ID jfieldID;
Brian> typedef JMETHOD_ID jmethodID;
Brian> [ ... ]

How will `JVM' get defined?
I think you can't require user code to set it.

Tom

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

Reply via email to