diff options
| author | Peng Wu <alexepico@gmail.com> | 2010-08-16 15:04:15 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2010-08-16 15:06:21 +0800 |
| commit | caca9580d210204c86844c6e9834b6b0aa7b3f45 (patch) | |
| tree | eec793e4a74e471197af252f620aa597cb4cd34e /src/include | |
| parent | 1640bc4ef6d60f57132d19e9abbaedc6a0f6c731 (diff) | |
re-factor sub phrase index
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/novel_types.h | 4 |
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 */ }; /* |
