Single-file cross-platform C/C++ headers implementing self-contained libraries

Single-file cross-platform C/C++ headers implementing self-contained libraries

However, to define the implementation each header looks something like this:

This will turn the file into a header + c file combo, one time. The point of this is: A) handling the header or sending it to people is easy, no zip files or anything just copy and paste a single file; B) build scripts are a pain in the ass, and these single-file libs can be integrated into any project without modifying a single build script. Additionally well constructed single-file headers use a #define to place implementation (the function definitions and symbols) into a single translation unit.

Source: github.com