Fix a bug on jni of DicTraverseSession

Change-Id: Ieeac36cbad9a99d15911f2e6e2e841cae38ecb9b
This commit is contained in:
Satoshi Kataoka 2012-08-10 20:12:56 +09:00
parent 82bd0c1e9d
commit 0f4de30e58

View File

@ -27,7 +27,7 @@ static jlong latinime_setDicTraverseSession(JNIEnv *env, jobject object, jstring
return reinterpret_cast<jlong>(traverseSession);
}
static void latinime_initDicTraverseSession(JNIEnv *env, jlong traverseSession,
static void latinime_initDicTraverseSession(JNIEnv *env, jobject object, jlong traverseSession,
jlong dictionary, jintArray previousWord, jint previousWordLength) {
void *ts = reinterpret_cast<void*>(traverseSession);
Dictionary *dict = reinterpret_cast<Dictionary*>(dictionary);