aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-07-12 22:48:45 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-12 22:48:45 -0700
commit0adf7ae2997a7e4fa2c2d84cad12f6ffd9c31f70 (patch)
treecb3361f6a00084239c3e7972a2621af9caacc489 /native/src/defines.h
parente0d3922ba3c328651d4982f01989c3ce15dee3c0 (diff)
parent1059f273649ea9cf4dd3c9c3466ec6fed5496a54 (diff)
downloadlatinime-0adf7ae2997a7e4fa2c2d84cad12f6ffd9c31f70.tar.gz
latinime-0adf7ae2997a7e4fa2c2d84cad12f6ffd9c31f70.tar.xz
latinime-0adf7ae2997a7e4fa2c2d84cad12f6ffd9c31f70.zip
Merge "New dict format, step 7"
Diffstat (limited to 'native/src/defines.h')
-rw-r--r--native/src/defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/src/defines.h b/native/src/defines.h
index 0a3240507..2c0afbc51 100644
--- a/native/src/defines.h
+++ b/native/src/defines.h
@@ -126,8 +126,11 @@ static void prof_out(void) {
#define FLAG_BIGRAM_FREQ 0x7F
#define DICTIONARY_VERSION_MIN 200
+// TODO: remove this constant when the switch to the new dict format is over
#define DICTIONARY_HEADER_SIZE 2
+#define NEW_DICTIONARY_HEADER_SIZE 5
#define NOT_VALID_WORD -99
+#define NOT_A_CHARACTER -1
#define KEYCODE_SPACE ' '