From caca9580d210204c86844c6e9834b6b0aa7b3f45 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 16 Aug 2010 15:04:15 +0800 Subject: re-factor sub phrase index --- src/include/novel_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') 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 */ }; /* -- cgit