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 @@ -198,13 +198,13 @@ Java_com_miyabi_1hiroshi_app_libchewing_1android_1app_1module_Chewing_setPhraseC
198198 chewing_set_phraseChoiceRearward (ctx, mode);
199199}
200200
201- extern " C" JNIEXPORT jboolean JNICALL
201+ extern " C" JNIEXPORT jint JNICALL
202202Java_com_miyabi_1hiroshi_app_libchewing_1android_1app_1module_Chewing_getPhraseChoiceRearward (
203203 JNIEnv *env,
204204 jobject,
205205 jlong chewing_ctx_ptr) {
206206 auto *ctx = reinterpret_cast <ChewingContext *>(chewing_ctx_ptr);
207- jboolean phrase_choice_rearward;
207+ jint phrase_choice_rearward;
208208 phrase_choice_rearward = chewing_get_phraseChoiceRearward (ctx);
209209 return phrase_choice_rearward;
210210}
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class Chewing {
7777 external fun getKBString (chewingCtx : Long = context): String
7878 external fun getKBType (chewingCtx : Long = context): Int
7979 external fun getMaxChiSymbolLen (chewingCtx : Long = context): Int
80- external fun getPhraseChoiceRearward (chewingCtx : Long = context): Boolean
80+ external fun getPhraseChoiceRearward (chewingCtx : Long = context): Int
8181 external fun getSelKey (chewingCtx : Long = context): IntArray
8282 external fun getSpaceAsSelection (chewingCtx : Long = context): Int
8383 external fun handleBackspace (chewingCtx : Long = context)
You can’t perform that action at this time.
0 commit comments