D
DGG
I am reading the JNI spec. One feature puzzles me. There is this
universial JNIEnv *env pointer in every function. However, if it is C,
you use (*env)->xxxx to access the fields in the environment; if it is
in C++, you use env->xxxx to access it.
Does anybody know what's the rationale behind such a design?
Thanks
universial JNIEnv *env pointer in every function. However, if it is C,
you use (*env)->xxxx to access the fields in the environment; if it is
in C++, you use env->xxxx to access it.
Does anybody know what's the rationale behind such a design?
Thanks