diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-27 18:24:51 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-27 18:24:51 +0000 |
commit | 1bd69bc0d2ca1cbff3ea0ad663a874212b6a6a6c (patch) | |
tree | b2c3576fbf4f07890c462217362e022f4ed38eb6 /libjava | |
parent | abc901448478120144f1539abd045e2d53a7c4e9 (diff) | |
download | gcc-1bd69bc0d2ca1cbff3ea0ad663a874212b6a6a6c.tar.gz |
* include/jni.h (struct JNINativeInterface) [GetStringLength]:
Returns jsize, not jint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46569 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/include/jni.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f4a006cfa11..303b11a21e7 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-10-27 Tom Tromey <tromey@redhat.com> + + * include/jni.h (struct JNINativeInterface) [GetStringLength]: + Returns jsize, not jint. + 2001-10-26 Tom Tromey <tromey@redhat.com> * java/util/zip/Adler32.java: Use correct class name. (Re-merge diff --git a/libjava/include/jni.h b/libjava/include/jni.h index 832558a18f1..705eb37b142 100644 --- a/libjava/include/jni.h +++ b/libjava/include/jni.h @@ -436,7 +436,7 @@ struct JNINativeInterface jfieldID, jdouble); jstring (*NewString) (JNIEnv *, const jchar *, jsize); - jint (*GetStringLength) (JNIEnv *, jstring); + jsize (*GetStringLength) (JNIEnv *, jstring); const jchar * (*GetStringChars) (JNIEnv *, jstring, jboolean *); void (*ReleaseStringChars) (JNIEnv *, jstring, const jchar *); jstring (*NewStringUTF) (JNIEnv *, const char *); |