diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-14 14:34:40 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-14 14:34:40 +0800 |
commit | 5c89ad8b701188916847acf54e9efc025f9002bb (patch) | |
tree | d6a19c50ca6db82ee336adb4f4162eee45c64bc2 /src/storage/chewing_key.h | |
parent | aad64d52a5317a6b757725e3a1b209f43d34f86f (diff) | |
download | libpinyin-5c89ad8b701188916847acf54e9efc025f9002bb.tar.gz libpinyin-5c89ad8b701188916847acf54e9efc025f9002bb.tar.xz libpinyin-5c89ad8b701188916847acf54e9efc025f9002bb.zip |
remove table index in chewing key rest
Diffstat (limited to 'src/storage/chewing_key.h')
-rw-r--r-- | src/storage/chewing_key.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h index 68733d4..3f1d1db 100644 --- a/src/storage/chewing_key.h +++ b/src/storage/chewing_key.h @@ -197,18 +197,14 @@ static inline bool operator == (ChewingKey lhs, ChewingKey rhs) { struct ChewingKeyRest { - /* Note: the table index is deprecated, - * and will be removed in the next major release. - * Currently this is kept for debugging purpose. + /* Note: the table index is removed, * Please use get_table_index in ChewingKey. */ - guint16 m_table_index; /* the index in pinyin parser table. */ guint16 m_raw_begin; /* the begin of the raw input. */ guint16 m_raw_end; /* the end of the raw input. */ ChewingKeyRest() { /* the 0th item in pinyin parser table is reserved for invalid. */ - m_table_index = 0; m_raw_begin = 0; m_raw_end = 0; } |