Create opaque parameter structure

This commit is contained in:
Stella Lau
2017-08-17 17:33:46 -07:00
parent 6466fd3400
commit 699f11b4f7
3 changed files with 44 additions and 14 deletions
+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);