Add MINIZ_NO_DEFLATE_APIS and MINIZ_NO_INFLATE_APIS

This commit is contained in:
Cameron Cawley
2021-07-20 15:21:19 +01:00
parent 08f2c2d7e3
commit 9b89689723
7 changed files with 54 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#include "miniz_common.h"
#ifndef MINIZ_NO_DEFLATE_APIS
#ifdef __cplusplus
extern "C" {
#endif
@@ -188,3 +190,5 @@ MINIZ_EXPORT void tdefl_compressor_free(tdefl_compressor *pComp);
#ifdef __cplusplus
}
#endif
#endif /*#ifndef MINIZ_NO_DEFLATE_APIS*/