summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame_static.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-15 09:34:08 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-15 09:34:08 (GMT)
commit4e574e7395323d7fe0edb4313d79d5ab3b2607ae (patch)
tree7fcdf9e8353f205a9a41f567fa35ef988739af44 /lib/lz4frame_static.h
parentd37926b0b58b2eaae972946713b92d7c8bb8621f (diff)
downloadlz4-4e574e7395323d7fe0edb4313d79d5ab3b2607ae.zip
lz4-4e574e7395323d7fe0edb4313d79d5ab3b2607ae.tar.gz
lz4-4e574e7395323d7fe0edb4313d79d5ab3b2607ae.tar.bz2
Updated lz4frame error names
Diffstat (limited to 'lib/lz4frame_static.h')
-rw-r--r--lib/lz4frame_static.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/lz4frame_static.h b/lib/lz4frame_static.h
index afcf7da..25afed4 100644
--- a/lib/lz4frame_static.h
+++ b/lib/lz4frame_static.h
@@ -50,20 +50,16 @@ extern "C" {
ITEM(OK_NoError) ITEM(ERROR_GENERIC) \
ITEM(ERROR_maxBlockSize_invalid) ITEM(ERROR_blockMode_invalid) ITEM(ERROR_contentChecksumFlag_invalid) \
ITEM(ERROR_compressionLevel_invalid) \
+ ITEM(ERROR_headerVersion_wrong) ITEM(ERROR_blockChecksum_unsupported) ITEM(ERROR_reservedFlag_set) \
ITEM(ERROR_allocation_failed) \
ITEM(ERROR_srcSize_tooLarge) ITEM(ERROR_dstMaxSize_tooSmall) \
- ITEM(ERROR_frameSize_wrong) \
- ITEM(ERROR_frameType_unknown) \
- ITEM(ERROR_wrongSrcPtr) \
+ ITEM(ERROR_frameType_unknown) ITEM(ERROR_frameSize_wrong) \
+ ITEM(ERROR_srcPtr_wrong) \
ITEM(ERROR_decompressionFailed) \
- ITEM(ERROR_checksum_invalid) \
- ITEM(ERROR_version_wrong) \
- ITEM(ERROR_unsupported_checksum) \
- ITEM(ERROR_reserved_flag_set) \
- ITEM(ERROR_unsupported_block_size) \
- ITEM(ERROR_header_checksum_invalid) \
+ ITEM(ERROR_headerChecksum_invalid) ITEM(ERROR_contentChecksum_invalid) \
ITEM(ERROR_maxCode)
+//#define LZ4F_DISABLE_OLD_ENUMS
#ifndef LZ4F_DISABLE_OLD_ENUMS
#define LZ4F_GENERATE_ENUM(ENUM) LZ4F_##ENUM, ENUM = LZ4F_##ENUM,
#else