edubart / miniminiz

Miniz in a single C header.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiniMiniZ

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.

About

Miniz in a single C header.


Languages

Language:C 100.0%