tree: d00867348c2219b6ed5a77b06c8b55fad20c5de1 [path history] [tgz]
  2. wuffs-unsupported-snapshot.c
  3. wuffs-v0.2.c

Wuffs ships as a “single file C library”, also known as a “header file library”.

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.