]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed function declaration ZSTD_getBlockSize()
authorYann Collet <cyan@fb.com>
Tue, 30 Jan 2018 23:03:39 +0000 (15:03 -0800)
committerYann Collet <cyan@fb.com>
Tue, 30 Jan 2018 23:03:39 +0000 (15:03 -0800)
lib/zstd.h

index 4c77197d1fe17b3963ec5d932c58d780d3bb6101..e573daf5b3183aece6177007aee5d3693fd3e437 100644 (file)
@@ -1373,7 +1373,7 @@ ZSTDLIB_API void ZSTD_DCtx_reset(ZSTD_DCtx* dctx);
 #define ZSTD_BLOCKSIZELOG_MAX 17
 #define ZSTD_BLOCKSIZE_MAX   (1<<ZSTD_BLOCKSIZELOG_MAX)   /* define, for static allocation */
 /*=====   Raw zstd block functions  =====*/
-ZSTDLIB_API size_t ZSTD_getBlockSizeMax(const ZSTD_CCtx* cctx);
+ZSTDLIB_API size_t ZSTD_getBlockSize   (const ZSTD_CCtx* cctx);
 ZSTDLIB_API size_t ZSTD_compressBlock  (ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
 ZSTDLIB_API size_t ZSTD_decompressBlock(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
 ZSTDLIB_API size_t ZSTD_insertBlock    (ZSTD_DCtx* dctx, const void* blockStart, size_t blockSize);  /**< insert uncompressed block into `dctx` history. Useful for multi-blocks decompression. */