zlibWrapper: ZWRAP_createCCtx and ZWRAP_freeCCtx use custom memory allocation functions

This commit is contained in:
inikep
2016-06-03 14:53:51 +02:00
parent 3763c77f6b
commit 2a74609b90
2 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -259,5 +259,5 @@ int ZSTD_isSkipFrame(ZSTD_DCtx* dctx);
void* ZSTD_defaultAllocFunction(void* opaque, size_t size);
void ZSTD_defaultFreeFunction(void* opaque, void* address);
static ZSTD_customMem const defaultCustomMem = { ZSTD_defaultAllocFunction, ZSTD_defaultFreeFunction, NULL };
#endif /* ZSTD_CCOMMON_H_MODULE */