summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index 645e02e..fd4e43a 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -514,6 +514,14 @@ bool pinyin_train(pinyin_instance_t * instance);
bool pinyin_reset(pinyin_instance_t * instance);
+bool pinyin_get_chewing_string(pinyin_instance_t * instance,
+ ChewingKey * key,
+ gchar ** utf8_str);
+
+bool pinyin_get_pinyin_string(pinyin_instance_t * instance,
+ ChewingKey * key,
+ gchar ** utf8_str);
+
/* hack here. */
typedef ChewingKey PinyinKey;
typedef ChewingKeyRest PinyinKeyPos;