JNI interface changed for TJ class, since it only has static methods now

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@339 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-02-04 11:22:15 +00:00
parent de3c86120c
commit 5ccb982332
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ extern "C" {
* Signature: (II)J
*/
JNIEXPORT jlong JNICALL Java_TJ_BUFSIZE
(JNIEnv *, jobject, jint, jint);
(JNIEnv *, jclass, jint, jint);
#ifdef __cplusplus
}

View File

@@ -50,7 +50,7 @@
}
JNIEXPORT jlong JNICALL Java_TJ_BUFSIZE
(JNIEnv *env, jobject obj, jint width, jint height)
(JNIEnv *env, jclass cls, jint width, jint height)
{
return TJBUFSIZE(width, height);
}