57 #define MLZ4F_LIST_ERRORS(ITEM) \
58 ITEM(OK_NoError) ITEM(ERROR_GENERIC) \
59 ITEM(ERROR_maxBlockSize_invalid) ITEM(ERROR_blockMode_invalid) ITEM(ERROR_contentChecksumFlag_invalid) \
60 ITEM(ERROR_compressionLevel_invalid) \
61 ITEM(ERROR_headerVersion_wrong) ITEM(ERROR_blockChecksum_unsupported) ITEM(ERROR_reservedFlag_set) \
62 ITEM(ERROR_allocation_failed) \
63 ITEM(ERROR_srcSize_tooLarge) ITEM(ERROR_dstMaxSize_tooSmall) \
64 ITEM(ERROR_frameHeader_incomplete) ITEM(ERROR_frameType_unknown) ITEM(ERROR_frameSize_wrong) \
65 ITEM(ERROR_srcPtr_wrong) \
66 ITEM(ERROR_decompressionFailed) \
67 ITEM(ERROR_headerChecksum_invalid) ITEM(ERROR_contentChecksum_invalid) \
71 #ifndef MLZ4F_DISABLE_OLD_ENUMS
72 #define MLZ4F_GENERATE_ENUM(ENUM) MLZ4F_##ENUM, ENUM = MLZ4F_##ENUM,
74 #define MLZ4F_GENERATE_ENUM(ENUM) MLZ4F_##ENUM,
#define MLZ4F_LIST_ERRORS(ITEM)
#define MLZ4F_GENERATE_ENUM(ENUM)