summaryrefslogtreecommitdiffstats
path: root/src/include/novel_types.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-08-16 15:04:15 +0800
committerPeng Wu <alexepico@gmail.com>2010-08-16 15:06:21 +0800
commitcaca9580d210204c86844c6e9834b6b0aa7b3f45 (patch)
treeeec793e4a74e471197af252f620aa597cb4cd34e /src/include/novel_types.h
parent1640bc4ef6d60f57132d19e9abbaedc6a0f6c731 (diff)
downloadlibpinyin-caca9580d210204c86844c6e9834b6b0aa7b3f45.tar.gz
libpinyin-caca9580d210204c86844c6e9834b6b0aa7b3f45.tar.xz
libpinyin-caca9580d210204c86844c6e9834b6b0aa7b3f45.zip
re-factor sub phrase index
Diffstat (limited to 'src/include/novel_types.h')
-rwxr-xr-xsrc/include/novel_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h
index 17af150..9265cfe 100755
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -86,7 +86,9 @@ enum PhraseIndexError{
ERROR_OK = 0, /* operate ok */
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 */
+ ERROR_OUT_OF_RANGE, /* beyond the end of the sub phrase index */
+ ERROR_FILE_CORRUPTION, /* file is corrupted */
+ ERROR_INTEGER_OVERFLOW /* integer is overflowed */
};
/*