diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2022-07-13 16:40:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 16:40:27 (GMT) |
commit | 6adf4282c24422c5e4d30687610cec4c4cbc3d74 (patch) | |
tree | bfe9f76eddf29139db6a26d5d79af292a232db69 /lib/lz4frame.h | |
parent | 16ac87590124d474fd8fc0c27eb0941c46a55b62 (diff) | |
parent | 832b444266053ab86d32b8a2f8b25a3f8abff703 (diff) | |
download | lz4-6adf4282c24422c5e4d30687610cec4c4cbc3d74.zip lz4-6adf4282c24422c5e4d30687610cec4c4cbc3d74.tar.gz lz4-6adf4282c24422c5e4d30687610cec4c4cbc3d74.tar.bz2 |
Merge pull request #1114 from lz4/blockSize
minor : proper interface for LZ4F_getBlockSize()
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r-- | lib/lz4frame.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 2c5a559..1de09d8 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -545,7 +545,11 @@ typedef enum { LZ4F_LIST_ERRORS(LZ4F_GENERATE_ENUM) LZ4FLIB_STATIC_API LZ4F_errorCodes LZ4F_getErrorCode(size_t functionResult); -LZ4FLIB_STATIC_API size_t LZ4F_getBlockSize(unsigned); +/*! LZ4F_getBlockSize() : + * Return, in scalar format (size_t), + * the maximum block size associated with blockSizeID. +**/ +LZ4FLIB_STATIC_API size_t LZ4F_getBlockSize(LZ4F_blockSizeID_t blockSizeID); /*! LZ4F_uncompressedUpdate() : * LZ4F_uncompressedUpdate() can be called repetitively to add as much data uncompressed data as necessary. |