summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_phrase2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-29 13:56:11 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-29 13:56:11 +0800
commit9c9a11038a30285b3537af3f0df2d3331acd7ec0 (patch)
tree7cdc81d5e154a5e123a20ab0df4955aa63379c57 /src/storage/pinyin_phrase2.h
parent4e9139c635feb783ca5702394d331e4559318eba (diff)
downloadlibpinyin-9c9a11038a30285b3537af3f0df2d3331acd7ec0.tar.gz
libpinyin-9c9a11038a30285b3537af3f0df2d3331acd7ec0.tar.xz
libpinyin-9c9a11038a30285b3537af3f0df2d3331acd7ec0.zip
add type pinyin_option_t
Diffstat (limited to 'src/storage/pinyin_phrase2.h')
-rw-r--r--src/storage/pinyin_phrase2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/pinyin_phrase2.h b/src/storage/pinyin_phrase2.h
index d927ed9..074f545 100644
--- a/src/storage/pinyin_phrase2.h
+++ b/src/storage/pinyin_phrase2.h
@@ -63,7 +63,7 @@ inline int pinyin_exact_compare2(const ChewingKey * key_lhs,
}
-inline int pinyin_compare_with_ambiguities2(guint32 options,
+inline int pinyin_compare_with_ambiguities2(pinyin_option_t options,
const ChewingKey * key_lhs,
const ChewingKey * key_rhs,
int phrase_length){
@@ -106,7 +106,7 @@ inline int pinyin_compare_with_ambiguities2(guint32 options,
}
/* compute pinyin lower bound */
-inline void compute_lower_value2(guint32 options,
+inline void compute_lower_value2(pinyin_option_t options,
ChewingKey * in_keys,
ChewingKey * out_keys,
int phrase_length) {
@@ -162,7 +162,7 @@ inline void compute_lower_value2(guint32 options,
}
/* compute pinyin upper bound */
-inline void compute_upper_value2(guint32 options,
+inline void compute_upper_value2(pinyin_option_t options,
ChewingKey * in_keys,
ChewingKey * out_keys,
int phrase_length) {