add more extern c blocks.

This commit is contained in:
Matthew Sitton
2016-06-25 10:56:14 -05:00
parent 91513516ae
commit 5a5a014f07
2 changed files with 14 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
#pragma once
#include "miniz_common.h"
#ifdef __cplusplus
extern "C" {
#endif
// ------------------- Low-level Compression API Definitions
// Set TDEFL_LESS_MEMORY to 1 to use less memory (compression will be slightly slower, and raw/dynamic blocks will be output more frequently).
@@ -184,3 +187,7 @@ mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, int
// structure size and allocation mechanism.
tdefl_compressor *tdefl_compressor_alloc();
void tdefl_compressor_free(tdefl_compressor *pComp);
#ifdef __cplusplus
}
#endif