< prev index next >

src/java.base/share/native/include/jni.h

Print this page

        

*** 62,71 **** --- 62,72 ---- typedef jint jsize; #ifdef __cplusplus + class _jvaluetype {}; class _jobject {}; class _jclass : public _jobject {}; class _jthrowable : public _jobject {}; class _jstring : public _jobject {}; class _jarray : public _jobject {};
*** 77,86 **** --- 78,88 ---- class _jlongArray : public _jarray {}; class _jfloatArray : public _jarray {}; class _jdoubleArray : public _jarray {}; class _jobjectArray : public _jarray {}; + typedef _jvaluetype *jvaluetype; typedef _jobject *jobject; typedef _jclass *jclass; typedef _jthrowable *jthrowable; typedef _jstring *jstring; typedef _jarray *jarray;
*** 94,105 **** --- 96,109 ---- typedef _jdoubleArray *jdoubleArray; typedef _jobjectArray *jobjectArray; #else + struct _jvaluetype; struct _jobject; + typedef struct _jvaluetype *jvaluetype; typedef struct _jobject *jobject; typedef jobject jclass; typedef jobject jthrowable; typedef jobject jstring; typedef jobject jarray;
*** 125,134 **** --- 129,139 ---- jint i; jlong j; jfloat f; jdouble d; jobject l; + jvaluetype q; } jvalue; struct _jfieldID; typedef struct _jfieldID *jfieldID;
< prev index next >