summaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-27 18:24:51 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-27 18:24:51 +0000
commit1bd69bc0d2ca1cbff3ea0ad663a874212b6a6a6c (patch)
treeb2c3576fbf4f07890c462217362e022f4ed38eb6 /libjava/include
parentabc901448478120144f1539abd045e2d53a7c4e9 (diff)
downloadgcc-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/include')
-rw-r--r--libjava/include/jni.h2
1 files changed, 1 insertions, 1 deletions
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 *);