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

@@ -2,6 +2,9 @@
#include "miniz_common.h"
// ------------------- Low-level Decompression API Definitions
#ifdef __cplusplus
extern "C" {
#endif
// Decompression flags used by tinfl_decompress().
// TINFL_FLAG_PARSE_ZLIB_HEADER: If set, the input has a valid zlib header and ends with an adler32 checksum (it's a valid zlib stream). Otherwise, the input is a raw deflate stream.
// TINFL_FLAG_HAS_MORE_INPUT: If set, there are more input bytes available beyond the end of the supplied input buffer. If clear, the input buffer contains all remaining input.
@@ -133,3 +136,7 @@ struct tinfl_decompressor_tag
tinfl_huff_table m_tables[TINFL_MAX_HUFF_TABLES];
mz_uint8 m_raw_header[4], m_len_codes[TINFL_MAX_HUFF_SYMBOLS_0 + TINFL_MAX_HUFF_SYMBOLS_1 + 137];
};
#ifdef __cplusplus
}
#endif