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

This commit is contained in:
DRC
2011-02-04 11:22:15 +00:00
parent eaad60012a
commit 5cc45fd6df
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);
}