summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index 9c2618e..6cde671 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -492,6 +492,22 @@ bool pinyin_get_pinyin_string(pinyin_instance_t * instance,
gchar ** utf8_str);
/**
+ * pinyin_get_pinyin_strings:
+ * @instance: the pinyin instance.
+ * @key: the pinyin key.
+ * @shengmu: the shengmu string.
+ * @yunmu: the yunmu string.
+ * @returns: whether the get operation is successful.
+ *
+ * Get the shengmu and yunmu strings of the key.
+ *
+ */
+bool pinyin_get_pinyin_strings(pinyin_instance_t * instance,
+ ChewingKey * key,
+ gchar ** shengmu,
+ gchar ** yunmu);
+
+/**
* pinyin_token_get_phrase:
* @instance: the pinyin instance.
* @token: the phrase token.