summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index b85ea53..7bed656 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -101,6 +101,13 @@ bool pinyin_translate_token(pinyin_instance_t * instance,
bool pinyin_train(pinyin_instance_t * instance);
bool pinyin_reset(pinyin_instance_t * instance);
+
+/* hack here. */
+typedef ChewingKey PinyinKey;
+typedef ChewingKeyRest PinyinKeyPos;
+
+#define LIBPINYIN_FORMAT_VERSION "0.4.91"
+
};
#endif