summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-17 18:28:45 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-17 18:30:40 +0800
commita36b1dbc6877b6df76ef2e86d0552e826c50b657 (patch)
treeb606a78676f558074d40896b567e82f12937c73e /src/storage/pinyin_parser2.h
parent3bcf118aab782f221185099de58de460c5d03077 (diff)
downloadlibpinyin-a36b1dbc6877b6df76ef2e86d0552e826c50b657.tar.gz
libpinyin-a36b1dbc6877b6df76ef2e86d0552e826c50b657.tar.xz
libpinyin-a36b1dbc6877b6df76ef2e86d0552e826c50b657.zip
update divided/resplit table
Diffstat (limited to 'src/storage/pinyin_parser2.h')
-rw-r--r--src/storage/pinyin_parser2.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h
index 4e8bbdc..53b5e9b 100644
--- a/src/storage/pinyin_parser2.h
+++ b/src/storage/pinyin_parser2.h
@@ -49,17 +49,14 @@ typedef struct {
typedef struct {
ChewingKey m_orig_key;
guint32 m_orig_freq;
- ChewingKey m_first_key;
- ChewingKey m_second_key;
+ ChewingKey m_new_keys[2];
guint32 m_new_freq;
} divided_table_item_t;
typedef struct {
- ChewingKey m_orig_first_key;
- ChewingKey m_orig_second_key;
+ ChewingKey m_orig_keys[2];
guint32 m_orig_freq;
- ChewingKey m_new_first_key;
- ChewingKey m_new_second_key;
+ ChewingKey m_new_keys[2];
guint32 m_new_freq;
} resplit_table_item_t;