diff options
author | Peng Wu <alexepico@gmail.com> | 2015-10-14 16:21:52 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-10-14 16:21:52 +0800 |
commit | f98dda5d83059dc45076a795d048239dd889de47 (patch) | |
tree | 055e2abe2c3de6cbba4b66384f0f86341d3e6ba2 /src/storage/zhuyin_parser2.cpp | |
parent | dc867750ebef213bf8717cb46777a8a68b550f4a (diff) | |
download | libpinyin-f98dda5d83059dc45076a795d048239dd889de47.tar.gz libpinyin-f98dda5d83059dc45076a795d048239dd889de47.tar.xz libpinyin-f98dda5d83059dc45076a795d048239dd889de47.zip |
use zhuyin instead of chewing
Diffstat (limited to 'src/storage/zhuyin_parser2.cpp')
-rw-r--r-- | src/storage/zhuyin_parser2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/zhuyin_parser2.cpp b/src/storage/zhuyin_parser2.cpp index 6f7b0bb..2b866e7 100644 --- a/src/storage/zhuyin_parser2.cpp +++ b/src/storage/zhuyin_parser2.cpp @@ -102,7 +102,7 @@ static inline bool search_chewing_index(pinyin_option_t options, /* the chewing string must be freed with g_free. */ -static bool search_chewing_symbols(const chewing_symbol_item_t * symbol_table, +static bool search_chewing_symbols(const zhuyin_symbol_item_t * symbol_table, const char key, const char ** chewing) { *chewing = ""; /* just iterate the table, as we only have < 50 items. */ @@ -116,7 +116,7 @@ static bool search_chewing_symbols(const chewing_symbol_item_t * symbol_table, return false; } -static bool search_chewing_tones(const chewing_tone_item_t * tone_table, +static bool search_chewing_tones(const zhuyin_tone_item_t * tone_table, const char key, unsigned char * tone) { *tone = CHEWING_ZERO_TONE; /* just iterate the table, as we only have < 10 items. */ @@ -130,7 +130,7 @@ static bool search_chewing_tones(const chewing_tone_item_t * tone_table, return false; } -static int search_chewing_symbols2(const chewing_symbol_item_t * symbol_table, +static int search_chewing_symbols2(const zhuyin_symbol_item_t * symbol_table, const char key, const char ** first, const char ** second) { |