File tree Expand file tree Collapse file tree
java/com/miyabi_hiroshi/app/libchewing_android_app_module Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,13 +189,13 @@ extern "C" JNIEXPORT void JNICALL
189189Java_com_miyabi_1hiroshi_app_libchewing_1android_1app_1module_Chewing_setPhraseChoiceRearward (
190190 JNIEnv *env,
191191 jobject,
192- jboolean boolean ,
192+ jint mode ,
193193 jlong chewing_ctx_ptr) {
194194 auto *ctx = reinterpret_cast <ChewingContext *>(chewing_ctx_ptr);
195195 __android_log_print (ANDROID_LOG_VERBOSE, LOGTAG,
196- " Set phrase choice rearward to (%d) from context ptr: %lld" , (jint) boolean ,
196+ " Set phrase choice rearward to (%d) from context ptr: %lld" , (jint) mode ,
197197 (long long ) ctx);
198- chewing_set_phraseChoiceRearward (ctx, boolean );
198+ chewing_set_phraseChoiceRearward (ctx, mode );
199199}
200200
201201extern " C" JNIEXPORT jboolean JNICALL
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class Chewing {
9696 external fun setEasySymbolInput (mode : Int , chewingCtx : Long = context)
9797 external fun setKBType (type : Int , chewingCtx : Long = context): Int
9898 external fun setMaxChiSymbolLen (length : Int , chewingCtx : Long = context)
99- external fun setPhraseChoiceRearward (boolean : Boolean , chewingCtx : Long = context)
99+ external fun setPhraseChoiceRearward (mode : Int , chewingCtx : Long = context)
100100 external fun setSelKey (selKeys : IntArray , length : Int , chewingCtx : Long = context)
101101 external fun setSpaceAsSelection (mode : Int , chewingCtx : Long = context)
102102
You can’t perform that action at this time.
0 commit comments