/os

Some helpful single-file C headers

Primary LanguageC

OS headers

Some helpful single-file headers.

How to use this?

Copy the header file to your project.

In one of the source files, write #define OS_<HEADER_NAME>_IMPLEMENTATION and then #include "os_<HEADER_NAME>.h".

And now you're good to go! ✨

Example

In test.c you can see some code that uses functions from the different header files. Use it to learn how to use this implementation. 🚀

Headers

DA (Dynamic Array)

A simple C dynamic array that grows based on your needs

JSON

A simple C JSON parser

Log

A simple C Logging library

SB (String Builder)

A simple C String Builder library

SV (String View)

A simple C String View library