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

@@ -2,6 +2,8 @@
#include "miniz_common.h"
/* ------------------- Low-level Decompression API Definitions */
#ifndef MINIZ_NO_INFLATE_APIS
#ifdef __cplusplus
extern "C" {
#endif
@@ -142,3 +144,5 @@ struct tinfl_decompressor_tag
#ifdef __cplusplus
}
#endif
#endif /*#ifndef MINIZ_NO_INFLATE_APIS*/