Moved ZSTD_defaultCLevel() into stable API

dev
Sen Huang 2021-04-16 09:58:42 -07:00
parent 12c045f74d
commit c5869677d9
2 changed files with 2 additions and 9 deletions

View File

@ -143,6 +143,7 @@ unsigned ZSTD_isError(size_t code); </b>/*!< tells if a `size_t` fun
const char* ZSTD_getErrorName(size_t code); </b>/*!< provides readable string from an error code */<b>
int ZSTD_minCLevel(void); </b>/*!< minimum negative compression level allowed */<b>
int ZSTD_maxCLevel(void); </b>/*!< maximum compression level available */<b>
int ZSTD_defaultCLevel(void); </b>/*!< default compression level, specified by ZSTD_CLEVEL_DEFAULT */<b>
</pre></b><BR>
<a name="Chapter4"></a><h2>Explicit context</h2><pre></pre>
@ -1441,11 +1442,6 @@ size_t ZSTD_freeCCtxParams(ZSTD_CCtx_params* params);
which have troubles handling structures containing memory pointers.
</p></pre><BR>
<pre><b>int ZSTD_defaultCLevel();
</b><p> Returns the default compression level, specified by ZSTD_CLEVEL_DEFAULT
</p></pre><BR>
<a name="Chapter18"></a><h2>Advanced decompression functions</h2><pre></pre>

View File

@ -182,6 +182,7 @@ ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `siz
ZSTDLIB_API const char* ZSTD_getErrorName(size_t code); /*!< provides readable string from an error code */
ZSTDLIB_API int ZSTD_minCLevel(void); /*!< minimum negative compression level allowed */
ZSTDLIB_API int ZSTD_maxCLevel(void); /*!< maximum compression level available */
ZSTDLIB_API int ZSTD_defaultCLevel(void); /*!< default compression level, specified by ZSTD_CLEVEL_DEFAULT */
/***************************************
@ -1947,10 +1948,6 @@ ZSTDLIB_API size_t ZSTD_compressStream2_simpleArgs (
const void* src, size_t srcSize, size_t* srcPos,
ZSTD_EndDirective endOp);
/*! ZSTD_defaultCLevel() :
* Returns the default compression level, specified by ZSTD_CLEVEL_DEFAULT
*/
ZSTDLIB_API int ZSTD_defaultCLevel(void);
/***************************************
* Advanced decompression functions