!This project has been moved to noch!
A collection of header-only STB-style C99 libraries.
NOTE: This library is still actively developed and might recieve breaking changes.
Each header file contains its documentation in the form of comments.
If you need to include windows.h
or unistd.h
in your project while youre using a library from
here, include sys.h
instead, which defines version macros to make certain
functions used by the libraries here available. If those macros arent defined and those headers
are included before the libraries, the compiler might throw errors.
Examples for each library can be found in the examples folder. To build them, first bootstrap the builder with
$ cc build.c -o build
and then build
$ ./build
The binaries will be outputted into bin.
Either copy this repository into your project, or you can use one of the following
$ git submodule add https://github.com/LordOfTrident/chol
$ ypm add https://github.com/LordOfTrident/chol
$ ypm update
You can find ypm here
Table of what platforms the given library was tested on and worked
Library | Linux support | Windows support | Unix support | MacOS support |
---|---|---|---|---|
builder.h | Yes | Yes | Not tested | Not tested |
fs.h | Yes | Yes | Not tested | Not tested |
log.h | Yes | Yes | Not tested | Not tested |
sv.h | Yes | Yes | Yes | Yes |
args.h | Yes | Yes | Yes | Yes |
common.h | Yes | Yes | Yes | Yes |
colorer.h | Yes | Yes | Not tested | Not tested |
darray.h | Yes | Yes | Yes | Yes |
If you find any bugs, please create an issue and report them.