diff options
Diffstat (limited to 'libjava/gcj/javaprims.h')
-rw-r--r-- | libjava/gcj/javaprims.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index 60c045aa116..8d18cdf2da5 100644 --- a/libjava/gcj/javaprims.h +++ b/libjava/gcj/javaprims.h @@ -855,6 +855,15 @@ struct _Jv_JNIEnv; typedef struct _Jv_Field *jfieldID; typedef struct _Jv_Method *jmethodID; +enum _Jv_jobjectRefType +{ + JNIInvalidRefType = 0, + JNILocalRefType = 1, + JNIGlobalRefType = 2, + JNIWeakGlobalRefType = 3 +}; +typedef enum _Jv_jobjectRefType jobjectRefType; + extern "C" jobject _Jv_AllocObject (jclass) __attribute__((__malloc__)); extern "C" jobject _Jv_AllocObjectNoFinalizer (jclass) __attribute__((__malloc__)); extern "C" jobject _Jv_AllocObjectNoInitNoFinalizer (jclass) __attribute__((__malloc__)); |