renehsz / odin-miniz

A binding to the miniz library for the Odin programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

odin-miniz

license contributors issues

A binding to the miniz compression library for the Odin programming language.

Installation

You need curl, a C compiler (default: gcc) and an archiver (default: ar) in order to compile the miniz library itself.

Then just clone this repository into your shared collection and run build-miniz.sh. This will create an archive file, which will be linked in when using miniz.odin.

Then use it with

import miniz "shared:odin-miniz";

See demo/main.odin for an example on how to use this library. If you need more information, take a look at the source code (it's fairly easy to understand).

License

It is public domain (UNLICENSE), see LICENSE file for further details.

About

A binding to the miniz library for the Odin programming language

License:The Unlicense


Languages

Language:Odin 98.3%Language:Shell 1.7%