Create opaque parameter structure

This commit is contained in:
Stella Lau committed 2017-08-17 17:33:46 -07:00
1 parent 6466fd3400
commit 699f11b4f7
3 files changed
+44 -14

No files matched your search

+2
View File
@@ -425,6 +425,8 @@ typedef struct {
ZSTD_frameParameters fParams;
} ZSTD_parameters;
typedef struct ZSTD_CCtx_params_s ZSTD_CCtx_params;
/*= Custom memory allocation functions */
typedef void* (*ZSTD_allocFunction) (void* opaque, size_t size);
typedef void (*ZSTD_freeFunction) (void* opaque, void* address);