MiniMiniZ

June 11, 2021 ยท View on GitHub

This the amalgamated miniz library in a single header.

Usage

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

Updates

License

Same license as MiniZ.