jni.h (struct JNINativeInterface): Returns jsize, not jint.

* include/jni.h (struct JNINativeInterface) [GetStringLength]:
	Returns jsize, not jint.

From-SVN: r46569
This commit is contained in:
Tom Tromey 2001-10-27 18:24:51 +00:00 committed by Tom Tromey
parent f4f17e7dc5
commit 2bd989ca96
2 changed files with 6 additions and 1 deletions

View file

@ -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 *);