added ZSTDMT_createCCtx_advanced()

make it possible to use custom allocators
This commit is contained in:
Yann Collet
2017-05-30 16:12:06 -07:00
parent f45ca527a1
commit 44e45e8423
6 changed files with 118 additions and 66 deletions
+1
View File
@@ -28,6 +28,7 @@
typedef struct ZSTDMT_CCtx_s ZSTDMT_CCtx;
ZSTDLIB_API ZSTDMT_CCtx* ZSTDMT_createCCtx(unsigned nbThreads);
ZSTDLIB_API ZSTDMT_CCtx* ZSTDMT_createCCtx_advanced(unsigned nbThreads, ZSTD_customMem cMem);
ZSTDLIB_API size_t ZSTDMT_freeCCtx(ZSTDMT_CCtx* cctx);
ZSTDLIB_API size_t ZSTDMT_compressCCtx(ZSTDMT_CCtx* cctx,