blob: 18d4e056caf2d2d7e18fbb5bb271efaf5282d169 [file] [log] [blame] [view]
Wuffs ships as a "single file C library", also known as a "[header file
library](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt)".
To use Wuffs in your C/C++ project, you just need to copy one file from this
directory, or otherwise integrate that one file into your build system.
Typically, pick the latest version (but not the unsupported snapshot), with a
filename like `wuffs-vMAJOR.MINOR.c` for version MAJOR.MINOR.
To use that single file as a "foo.c"-like implementation, instead of a
"foo.h"-like header, `#define WUFFS_IMPLEMENTATION` before `#include`'ing or
compiling it.