summaryrefslogtreecommitdiffstats
path: root/lz4frame.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-10-27 23:39:06 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-10-27 23:39:06 (GMT)
commit7a677a77a683a6716307034a176228075ce9fea5 (patch)
treed9359141f856f9612ac1cf201642313e8835d91e /lz4frame.h
parent508855c48826aa0544a907f02b52515aabba5e16 (diff)
downloadlz4-7a677a77a683a6716307034a176228075ce9fea5.zip
lz4-7a677a77a683a6716307034a176228075ce9fea5.tar.gz
lz4-7a677a77a683a6716307034a176228075ce9fea5.tar.bz2
LZ4 HC streaming integrated within lz4frame
Diffstat (limited to 'lz4frame.h')
-rw-r--r--lz4frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lz4frame.h b/lz4frame.h
index bb7d688..d31203d 100644
--- a/lz4frame.h
+++ b/lz4frame.h
@@ -70,7 +70,7 @@ typedef size_t LZ4F_errorCode_t;
ITEM(ERROR_maxCode)
#define LZ4F_GENERATE_ENUM(ENUM) ENUM,
-typedef enum { LZ4F_LIST_ERRORS(LZ4F_GENERATE_ENUM) } LZ4F_errorCodes; /* enum is exposed, to let programmer detect & handle specific errors */
+typedef enum { LZ4F_LIST_ERRORS(LZ4F_GENERATE_ENUM) } LZ4F_errorCodes; /* enum is exposed, to detect & handle specific errors; compare function result to -enum value */
int LZ4F_isError(LZ4F_errorCode_t code); /* Basically : code > -ERROR_maxCode */
const char* LZ4F_getErrorName(LZ4F_errorCode_t code); /* return enum as string */