From 0c404a48f0987a938ab611b89f27854bb1905ad1 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 6 Dec 2018 10:57:19 -0800 Subject: [PATCH] moved ZSTD_WINDOWLOG_LIMIT_DEFAULT into static-linking-only area --- doc/zstd_manual.html | 7 ++++--- lib/zstd.h | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/doc/zstd_manual.html b/doc/zstd_manual.html index c7f2d2f1..92566e1d 100644 --- a/doc/zstd_manual.html +++ b/doc/zstd_manual.html @@ -1050,8 +1050,9 @@ static ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /**< t


size_t ZSTD_CCtx_getParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int* value);
-

Get the requested value of one compression parameter, selected by enum ZSTD_cParameter. - @result : 0, or an error code (which can be tested with ZSTD_isError()). +

Get the requested compression parameter value, selected by enum ZSTD_cParameter, + and store it into int* value. + @return : 0, or an error code (which can be tested with ZSTD_isError()).


@@ -1071,7 +1072,7 @@ size_t ZSTD_freeCCtxParams(ZSTD_CCtx_params* params); - ZSTD_freeCCtxParams() : Free the memory. This can be used with ZSTD_estimateCCtxSize_advanced_usingCCtxParams() - for static allocation for single-threaded compression. + for static allocation of CCtx for single-threaded compression.


diff --git a/lib/zstd.h b/lib/zstd.h index 87178f1b..72289d99 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -438,12 +438,6 @@ ZSTDLIB_API size_t ZSTD_DStreamOutSize(void); /*!< recommended size for output #define ZSTD_BLOCKSIZELOG_MAX 17 #define ZSTD_BLOCKSIZE_MAX (1<