summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-09 13:48:41 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-09 13:48:41 +0800
commite924922ad2404ab49ea5809c8a197d945bf01c07 (patch)
treef7300986638b5e0f5f96770fbac84bca93ccea3c
parent7686fc7ad3b71877fe86ca84a6c38360df67ca3e (diff)
downloadlibpinyin-e924922ad2404ab49ea5809c8a197d945bf01c07.zip
libpinyin-e924922ad2404ab49ea5809c8a197d945bf01c07.tar.gz
libpinyin-e924922ad2404ab49ea5809c8a197d945bf01c07.tar.xz
add comments
-rw-r--r--utils/storage/gen_chewing_table.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/storage/gen_chewing_table.cpp b/utils/storage/gen_chewing_table.cpp
index a4651bc..30bc0da 100644
--- a/utils/storage/gen_chewing_table.cpp
+++ b/utils/storage/gen_chewing_table.cpp
@@ -43,8 +43,9 @@ struct chewing_and_freq_item{
};
struct phrase_and_array_item{
- phrase_item phrase;
- GArray * chewing_and_freq_array; /* Array of chewing_and_freq_item */
+ phrase_item phrase; /* the key of g_chewing_tree */
+ /* Array of chewing_and_freq_item */
+ GArray * chewing_and_freq_array; /* the value of g_chewing_tree */
};