diff options
author | Tom Tromey <tromey@redhat.com> | 2008-06-15 17:12:07 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-06-15 17:12:07 +0000 |
commit | 0dcbe3d84713c04ba9cff7ed0974286ee7a5f64e (patch) | |
tree | d960083690ed42f094c4984fd75c69fa4f75f19f | |
parent | f0bc4109112dd7f1663eef3ec6271eda0250d9ee (diff) | |
download | classpath-0dcbe3d84713c04ba9cff7ed0974286ee7a5f64e.tar.gz |
* include/jni.h (_jobjectRefType, jobjectRefType): Always
declare.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/jni.h | 21 |
2 files changed, 15 insertions, 11 deletions
@@ -1,3 +1,8 @@ +2008-06-15 Tom Tromey <tromey@redhat.com> + + * include/jni.h (_jobjectRefType, jobjectRefType): Always + declare. + 2008-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org> * configure.ac: diff --git a/include/jni.h b/include/jni.h index 707edd612..27862282b 100644 --- a/include/jni.h +++ b/include/jni.h @@ -1,5 +1,5 @@ /* jni.h - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation This file is part of GNU Classpath. @@ -136,16 +136,6 @@ struct _jfieldID; struct _jmethodID; typedef struct _jfieldID *jfieldID; typedef struct _jmethodID *jmethodID; - -enum _jobjectRefType -{ - JNIInvalidRefType = 0, - JNILocalRefType = 1, - JNIGlobalRefType = 2, - JNIWeakGlobalRefType = 3 -}; - -typedef enum _jobjectRefType jobjectRefType; #endif /* Version numbers. */ @@ -164,6 +154,15 @@ typedef enum _jobjectRefType jobjectRefType; #define JNI_EDETACHED (-2) #define JNI_EVERSION (-3) +enum _jobjectRefType +{ + JNIInvalidRefType = 0, + JNILocalRefType = 1, + JNIGlobalRefType = 2, + JNIWeakGlobalRefType = 3 +}; + +typedef enum _jobjectRefType jobjectRefType; #ifdef __cplusplus extern "C" |