summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-10-16 13:24:07 +0800
committerPeng Wu <alexepico@gmail.com>2015-10-16 13:24:07 +0800
commitac96a6ee83d172561628e0e7cbdd71deb9f6f04f (patch)
treee255fbfbb53cf0669cd55cdc35df877a27e340fc /src/pinyin.h
parent5c07a9c2ba8e12eadffa0f2c569334947193ca91 (diff)
downloadlibpinyin-ac96a6ee83d172561628e0e7cbdd71deb9f6f04f.tar.gz
libpinyin-ac96a6ee83d172561628e0e7cbdd71deb9f6f04f.tar.xz
libpinyin-ac96a6ee83d172561628e0e7cbdd71deb9f6f04f.zip
update pinyin_in_chewing_keyboard method
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index 95c7499..1b2e5ea 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -458,14 +458,15 @@ size_t pinyin_get_parsed_input_length(pinyin_instance_t * instance);
* pinyin_in_chewing_keyboard:
* @instance: the pinyin instance.
* @key: the input key.
- * @symbol: the chewing symbol.
+ * @symbol: the zhuyin symbols must be freed by g_strfreev.
* @returns: whether the key is in current chewing scheme.
*
* Check whether the input key is in current chewing scheme.
*
*/
bool pinyin_in_chewing_keyboard(pinyin_instance_t * instance,
- const char key, const char ** symbol);
+ const char key, gchar *** symbols);
+
/**
* pinyin_guess_candidates:
* @instance: the pinyin instance.