ZSTD_maxCLevel() is promoted to "stable" API (#254, by @FrancescAlted)

This commit is contained in:
Yann Collet
2016-07-27 15:09:11 +02:00
parent 55a8bea0b5
commit 4110534886
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -2767,7 +2767,7 @@ ZSTDLIB_API size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
#define ZSTD_DEFAULT_CLEVEL 1
#define ZSTD_MAX_CLEVEL 22
unsigned ZSTD_maxCLevel(void) { return ZSTD_MAX_CLEVEL; }
int ZSTD_maxCLevel(void) { return ZSTD_MAX_CLEVEL; }
static const ZSTD_compressionParameters ZSTD_defaultCParameters[4][ZSTD_MAX_CLEVEL+1] = {
{ /* "default" */