CUtils is a set of miscellaneous utilities for the C programming language.
The utilities are split up into multiple modules. The documentation for all functions can be found in the header files (with a short description) as well as in the source files (with a detailed description and explanation of parameters and return values).
color
: Color conversion and manipulation functionscommon
: Common utilities that are very common but did not fit in any other module, e.g. safe memory allocation or a few math functionscstr
: Functions that expand C's<string.h>
library forchar *
stringsdebug
: Debug utilities, e.g. debug messages for memory allocationsenum-helper
: Helper macros for enums (header only)fs
: File system handlinglog
: Logging functionality with different log levels and support for printing source file and line informationstr
: A custom string type that stores length and capacity and associated functions for interacting with ittest
: Simple unit testing libraryvec
: Vectorized math operations
Note that some modules may depend on each other.