A set of miscellaneous utilities for the C programming language.
Go to file
thetek 76ca0c9131 fix(vec): actually undefine helper macros 2023-04-25 20:03:15 +02:00
lib fix(vec): actually undefine helper macros 2023-04-25 20:03:15 +02:00
test feat(vec): vec_fma 2023-04-25 20:00:03 +02:00
.ccls refactor: function parameters, pedantic warnings 2023-04-25 12:22:35 +02:00
.gitignore chore: ccls support 2023-03-04 13:07:31 +01:00
LICENSE chore: license 2023-03-04 13:02:37 +01:00
README.md chore: update readme to incorporate `vec` library 2023-04-25 15:01:57 +02:00
makefile chore: add pedantic flag 2023-04-25 11:35:02 +02:00

README.md

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).

  • 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
  • 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

Note that some modules may depend on each other.