diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-21 12:20:18 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-21 12:20:18 +0800 |
commit | da0c48d52aad4541d38d45ad3490b151029b7f26 (patch) | |
tree | 77f0a8757282645708a7f3623c277d1d17db4dfd /src/pinyin.h | |
parent | b381ab0f9d3aa3a607403f4981f32911869ea62e (diff) | |
download | libpinyin-da0c48d52aad4541d38d45ad3490b151029b7f26.tar.gz libpinyin-da0c48d52aad4541d38d45ad3490b151029b7f26.tar.xz libpinyin-da0c48d52aad4541d38d45ad3490b151029b7f26.zip |
re-factor code
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index 3c53356..8778715 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -88,9 +88,9 @@ bool pinyin_get_candidates(pinyin_instance_t * instance, size_t offset, TokenVector candidates); -guint8 pinyin_choose_candidate(pinyin_instance_t * instance, - size_t offset, - phrase_token_t token); +int pinyin_choose_candidate(pinyin_instance_t * instance, + size_t offset, + phrase_token_t token); bool pinyin_clear_constraint(pinyin_instance_t * instance, size_t offset); |