Rename applyCCtxParams()

This commit is contained in:
Stella Lau
2017-08-29 18:03:06 -07:00
parent 4e835720bf
commit 82d636b76a
4 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -465,7 +465,8 @@ size_t ZSTD_CCtxParam_setParameter(
*
* Pledged srcSize is treated as unknown.
*/
size_t ZSTD_CCtx_applyCCtxParams(ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params)
size_t ZSTD_CCtx_setParametersUsingCCtxParams(
ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params)
{
if (cctx->streamStage != zcss_init) return ERROR(stage_wrong);
if (cctx->cdict) return ERROR(stage_wrong);