am 0f4de30e: Fix a bug on jni of DicTraverseSession
* commit '0f4de30e589deba221b92b3bde341c54fd9d1b9d': Fix a bug on jni of DicTraverseSessionmain
commit
5d9d69d2f1
|
@ -27,7 +27,7 @@ static jlong latinime_setDicTraverseSession(JNIEnv *env, jobject object, jstring
|
||||||
return reinterpret_cast<jlong>(traverseSession);
|
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) {
|
jlong dictionary, jintArray previousWord, jint previousWordLength) {
|
||||||
void *ts = reinterpret_cast<void*>(traverseSession);
|
void *ts = reinterpret_cast<void*>(traverseSession);
|
||||||
Dictionary *dict = reinterpret_cast<Dictionary*>(dictionary);
|
Dictionary *dict = reinterpret_cast<Dictionary*>(dictionary);
|
||||||
|
|
Loading…
Reference in New Issue