36 #ifndef LZ4FRAME_STATIC_H_0398209384 37 #define LZ4FRAME_STATIC_H_0398209384 39 #if defined (__cplusplus) 54 #define LZ4F_LIST_ERRORS(ITEM) \ 57 ITEM(ERROR_maxBlockSize_invalid) \ 58 ITEM(ERROR_blockMode_invalid) \ 59 ITEM(ERROR_contentChecksumFlag_invalid) \ 60 ITEM(ERROR_compressionLevel_invalid) \ 61 ITEM(ERROR_headerVersion_wrong) \ 62 ITEM(ERROR_blockChecksum_unsupported) \ 63 ITEM(ERROR_reservedFlag_set) \ 64 ITEM(ERROR_allocation_failed) \ 65 ITEM(ERROR_srcSize_tooLarge) \ 66 ITEM(ERROR_dstMaxSize_tooSmall) \ 67 ITEM(ERROR_frameHeader_incomplete) \ 68 ITEM(ERROR_frameType_unknown) \ 69 ITEM(ERROR_frameSize_wrong) \ 70 ITEM(ERROR_srcPtr_wrong) \ 71 ITEM(ERROR_decompressionFailed) \ 72 ITEM(ERROR_headerChecksum_invalid) \ 73 ITEM(ERROR_contentChecksum_invalid) \ 74 ITEM(ERROR_frameDecoding_alreadyStarted) \ 77 #define LZ4F_GENERATE_ENUM(ENUM) LZ4F_##ENUM, 85 #if defined (__cplusplus)
#define LZ4F_GENERATE_ENUM(ENUM)
#define LZ4F_LIST_ERRORS(ITEM)
LZ4F_errorCodes LZ4F_getErrorCode(size_t functionResult)