From 736eae1046a8ce31b9d3743043a0a9e28d58fb73 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 27 Jun 2016 15:56:45 +0800 Subject: write pinyin_get_full_pinyin_auxiliary_text function --- src/pinyin.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/pinyin.h') diff --git a/src/pinyin.h b/src/pinyin.h index de1be7c..3400568 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -952,6 +952,22 @@ bool pinyin_get_phrase_token(pinyin_instance_t * instance, guint index, phrase_token_t * token); + +bool pinyin_get_full_pinyin_auxiliary_text(pinyin_instance_t * instance, + const char * input, + size_t cursor, + gchar ** aux_text); + +bool pinyin_get_double_pinyin_auxiliary_text(pinyin_instance_t * instance, + const char * input, + size_t cursor, + gchar ** aux_text); + +bool pinyin_get_chewing_auxiliary_text(pinyin_instance_t * instance, + const char * input, + size_t cursor, + gchar ** aux_text); + /* hack here. */ typedef ChewingKey PinyinKey; typedef ChewingKeyRest PinyinKeyPos; -- cgit