diff options
author | Peng Wu <alexepico@gmail.com> | 2011-09-06 13:57:57 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-09-06 13:57:57 +0800 |
commit | f31c2e6b65d7bfa50af449dd26206b0805968d81 (patch) | |
tree | c6b5ab95cac80ec872a7684bceff399892acb282 /src/pinyin.h | |
parent | a4901dd10796363b9f74db459965c8a9d4628ddb (diff) | |
download | libpinyin-f31c2e6b65d7bfa50af449dd26206b0805968d81.tar.gz libpinyin-f31c2e6b65d7bfa50af449dd26206b0805968d81.tar.xz libpinyin-f31c2e6b65d7bfa50af449dd26206b0805968d81.zip |
add chewing support
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index 0c612b7..2ac1001 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -72,8 +72,14 @@ bool pinyin_parse_double(pinyin_context_t * context, const char * onepinyin, PinyinKey * onekey); bool pinyin_parse_more_doubles(pinyin_context_t * context, - const char * onepinyin, + const char * pinyins, PinyinKeyVector pinyin_keys); +bool pinyin_parse_chewing(pinyin_context_t * context, + const char * onechewing, + PinyinKey * onekey); +bool pinyin_parse_more_chewing(pinyin_context_t * context, + const char * chewings, + PinyinKeyVector * pinyin_keys); bool pinyin_get_candidates(pinyin_context_t * context, size_t offset, |