diff options
author | Peng Wu <alexepico@gmail.com> | 2013-02-21 13:14:55 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-02-21 13:14:55 +0800 |
commit | 932126ad426803596f17a7ad320c8ded1ea8b2d7 (patch) | |
tree | aa644ff00d77fd6d4b5a1828b7a51bfbf8979ca8 /src/pinyin.h | |
parent | 6d73c79f073d241d57375a2c1078f4dc580d3bd9 (diff) | |
download | libpinyin-932126ad426803596f17a7ad320c8ded1ea8b2d7.tar.gz libpinyin-932126ad426803596f17a7ad320c8ded1ea8b2d7.tar.xz libpinyin-932126ad426803596f17a7ad320c8ded1ea8b2d7.zip |
write pinyin_get_pinyin_strings
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 16 |
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. |