summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-09-21 14:46:12 +0800
committerPeng Wu <alexepico@gmail.com>2011-09-21 14:46:12 +0800
commitbe59e5b5f901f0959e8824e81a7f49c434229440 (patch)
treebcc1bc8d4e9c72dbd1aee8e3538a6031196fdf0b /src/pinyin.h
parentc4873c80ffb34e6c4456d9f2b571c612af08ad71 (diff)
downloadlibpinyin-be59e5b5f901f0959e8824e81a7f49c434229440.tar.gz
libpinyin-be59e5b5f901f0959e8824e81a7f49c434229440.tar.xz
libpinyin-be59e5b5f901f0959e8824e81a7f49c434229440.zip
change api
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index 1d65416..b144ef1 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -63,20 +63,20 @@ bool pinyin_get_sentence(pinyin_instance_t * instance,
bool pinyin_parse_full_pinyin(pinyin_instance_t * instance,
const char * onepinyin,
PinyinKey * onekey);
-bool pinyin_parse_more_full_pinyins(pinyin_instance_t * instance,
- const char * pinyins);
+size_t pinyin_parse_more_full_pinyins(pinyin_instance_t * instance,
+ const char * pinyins);
bool pinyin_parse_double_pinyin(pinyin_instance_t * instance,
const char * onepinyin,
PinyinKey * onekey);
-bool pinyin_parse_more_double_pinyins(pinyin_instance_t * instance,
- const char * pinyins);
+size_t pinyin_parse_more_double_pinyins(pinyin_instance_t * instance,
+ const char * pinyins);
bool pinyin_parse_chewing(pinyin_instance_t * instance,
const char * onechewing,
PinyinKey * onekey);
-bool pinyin_parse_more_chewings(pinyin_instance_t * instance,
- const char * chewings);
+size_t pinyin_parse_more_chewings(pinyin_instance_t * instance,
+ const char * chewings);
bool pinyin_get_candidates(pinyin_instance_t * instance,
size_t offset,