This the amalgamated miniz library in a single header.
Copy miniminiz.h
into your C or C++ project, include it anywhere you want to use MiniZ API.
Then do the following in one C file to implement MiniZ:
#define MINIZ_IMPL
#include "miniminiz.h"
Note that almost no modification was made in the MiniZ implementation code, thus there are some C variable names that may collide with your code, therefore it is best to declare the Lua implementation in dedicated C file.
Optionally provide the following defines:
MINIZ_EXPORT
- qualifier on API declarations
- 11-Jun-2021: Library create using this latest commit.
Same license as MiniZ.