ok.  i've come around (thanks to paul's gentle yet persistent prodding
:)

I've added the following two calls to japhar:

extern void* NSA_GetNativeState(japhar_obj object_ref);
extern void  NSA_SetNativeState(japhar_obj object_ref, void*
native_state);

japhar_obj is the same as jobject in JNI code, and permits both jobjects
and jclasses (since jclasses are really jobjects.)

So, to get instance data, send a jobject and to get static data send the
jclass.

Sound ok?  I'll check this in as soon as japhar builds.

xtoph

Reply via email to