New dict format, step 7
This actually implements the new dictionary format, but does not
activate the implementation through #defines.
Bug: 4392433
Change-Id: I9b26b9bcb4b823a36e0984799b69730acfc6f7f3
diff --git a/native/src/defines.h b/native/src/defines.h
index 0a32405..2c0afbc 100644
--- a/native/src/defines.h
+++ b/native/src/defines.h
@@ -126,8 +126,11 @@
#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 ' '