cutils/README.md

27 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2023-03-04 13:02:03 +01:00
# CUtils
CUtils is a set of miscellaneous utilities for the C programming language.
## Modules
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).
2023-04-27 09:26:54 +02:00
- `color`: Color conversion and manipulation functions
2023-03-04 13:02:03 +01:00
- `common`: Common utilities that are very common but did not fit in any other
module, e.g. safe memory allocation or a few math functions
- `cstr`: Functions that expand C's `<string.h>` library for `char *` strings
- `debug`: Debug utilities, e.g. debug messages for memory allocations
- `enum-helper`: Helper macros for enums (header only)
2023-04-27 14:28:18 +02:00
- `fs`: File system handling
2023-03-04 13:02:03 +01:00
- `log`: Logging functionality with different log levels and support for
printing source file and line information
- `str`: A custom string type that stores length and capacity and associated
functions for interacting with it
- `test`: Simple unit testing library
- `vec`: Vectorized math operations
2023-03-04 13:02:03 +01:00
Note that some modules may depend on each other.