diff options
author | Peng Wu <alexepico@gmail.com> | 2011-10-22 10:15:27 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-10-22 10:15:27 +0800 |
commit | 86771016e43aab669a3866ccbad4962689633194 (patch) | |
tree | 5e43a513d1410632bc76d26c49ca30a2557f774d /src/storage | |
parent | df20383358485ac69158b6dd4bec1a3c2e5bf9ea (diff) | |
download | libpinyin-86771016e43aab669a3866ccbad4962689633194.tar.gz libpinyin-86771016e43aab669a3866ccbad4962689633194.tar.xz libpinyin-86771016e43aab669a3866ccbad4962689633194.zip |
begin to write chewing key
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/Makefile.am | 4 | ||||
-rw-r--r-- | src/storage/chewing_custom.h | 0 | ||||
-rw-r--r-- | src/storage/chewing_key.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/storage/Makefile.am b/src/storage/Makefile.am index 60bc4a0..5ea8c19 100644 --- a/src/storage/Makefile.am +++ b/src/storage/Makefile.am @@ -22,7 +22,9 @@ INCLUDES = -I$(top_srcdir)/src/include \ libpinyinincludedir = $(includedir)/libpinyin-@LIBPINYIN_BINARY_VERSION@ libpinyininclude_HEADERS= pinyin_custom.h \ - pinyin_base.h + pinyin_base.h \ + chewing_key.h \ + chewing_custom.h noinst_HEADERS = pinyin_large_table.h \ pinyin_phrase.h \ diff --git a/src/storage/chewing_custom.h b/src/storage/chewing_custom.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/storage/chewing_custom.h diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h index a9dde9a..f42c66c 100644 --- a/src/storage/chewing_key.h +++ b/src/storage/chewing_key.h @@ -98,7 +98,7 @@ enum ChewingFinal CHEWING_OU = 15, /* "ㄡ". */ PINYIN_IN = 16, /* "ien". */ PINYIN_ING = 17, /* "ieng". */ - CHEWING_LAST_FINAL = CHEWING_ING, + CHEWING_LAST_FINAL = PINYIN_ING, CHEWING_NUMBER_OF_FINALS = CHEWING_LAST_FINAL + 1 }; |