aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-04-30 20:40:02 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-04-30 20:40:02 +0900
commit4162cfdc59c575cf8ef70b71791283c1ae2f73d4 (patch)
treea02ee0243f22ae113f9231d99f03ac92993cec00 /native/jni/src/defines.h
parent8dac7ce2e2b56c77e289507625b7695449b2e41a (diff)
downloadlatinime-4162cfdc59c575cf8ef70b71791283c1ae2f73d4.tar.gz
latinime-4162cfdc59c575cf8ef70b71791283c1ae2f73d4.tar.xz
latinime-4162cfdc59c575cf8ef70b71791283c1ae2f73d4.zip
Add CODE_POINT_BEGINNING_OF_SENTENCE in native code.
Bug: 14119293 Change-Id: Ib101435e2840172ba004ead081022669647a8ad9
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r--native/jni/src/defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h
index 2fe2bd8fa..761063f8a 100644
--- a/native/jni/src/defines.h
+++ b/native/jni/src/defines.h
@@ -325,6 +325,8 @@ static inline void prof_out(void) {
#define KEYCODE_SPACE ' '
#define KEYCODE_SINGLE_QUOTE '\''
#define KEYCODE_HYPHEN_MINUS '-'
+// Code point to indicate beginning-of-sentence. This is not in the code point space of unicode.
+#define CODE_POINT_BEGINNING_OF_SENTENCE 0x110000
#define SUGGEST_INTERFACE_OUTPUT_SCALE 1000000.0f
#define MAX_PROBABILITY 255