summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2022-07-13 16:40:27 (GMT)
committerGitHub <noreply@github.com>2022-07-13 16:40:27 (GMT)
commit6adf4282c24422c5e4d30687610cec4c4cbc3d74 (patch)
treebfe9f76eddf29139db6a26d5d79af292a232db69 /lib/lz4frame.h
parent16ac87590124d474fd8fc0c27eb0941c46a55b62 (diff)
parent832b444266053ab86d32b8a2f8b25a3f8abff703 (diff)
downloadlz4-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.h6
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.