diff options
author | Peng Wu <alexepico@gmail.com> | 2012-06-21 13:18:18 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-06-21 13:18:18 +0800 |
commit | aa31075db890e53bc6cec08d99ba4fb250fcab12 (patch) | |
tree | c5f0f78ff5549610d94f5db73892b53920c29b60 /src/include | |
parent | 606b4b110302fad6590eca56cba7108681b8b434 (diff) | |
download | libpinyin-aa31075db890e53bc6cec08d99ba4fb250fcab12.tar.gz libpinyin-aa31075db890e53bc6cec08d99ba4fb250fcab12.tar.xz libpinyin-aa31075db890e53bc6cec08d99ba4fb250fcab12.zip |
refine asserts in large tables
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/novel_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h index 014c11a..706afd4 100644 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -78,6 +78,7 @@ enum ErrorResult{ ERROR_OK = 0, /* operate ok */ ERROR_INSERT_ITEM_EXISTS, /* item already exists */ ERROR_REMOVE_ITEM_DONOT_EXISTS, /* item don't exists */ + ERROR_PHRASE_TOO_LONG, /* the phrase is too long */ ERROR_NO_SUB_PHRASE_INDEX, /* sub phrase index is not loaded */ ERROR_NO_ITEM, /* item has a null slot */ ERROR_OUT_OF_RANGE, /* beyond the end of the sub phrase index */ |