summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-21 12:20:18 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-21 12:20:18 +0800
commitda0c48d52aad4541d38d45ad3490b151029b7f26 (patch)
tree77f0a8757282645708a7f3623c277d1d17db4dfd /src/pinyin.h
parentb381ab0f9d3aa3a607403f4981f32911869ea62e (diff)
downloadlibpinyin-da0c48d52aad4541d38d45ad3490b151029b7f26.tar.gz
libpinyin-da0c48d52aad4541d38d45ad3490b151029b7f26.tar.xz
libpinyin-da0c48d52aad4541d38d45ad3490b151029b7f26.zip
re-factor code
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h6
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);