| .gitignore | ||
| debug.c | ||
| debug.h | ||
| dictionary.c | ||
| dictionary.h | ||
| drop.c | ||
| drop.h | ||
| hash_map.c | ||
| hash_map.h | ||
| LICENSE.txt | ||
| list.c | ||
| list.h | ||
| mathext.h | ||
| mirror.c | ||
| mirror.h | ||
| README.md | ||
| strutil.c | ||
| strutil.h | ||
| typeclass_helpers.h | ||
| variant.c | ||
| variant.h | ||
| vmath.h | ||
SARA'S C UTILITIES (C UTES)
A collection of utilities I keep copying around/reimplementing for various C projects.
utilities:
- debug: some debug logging and assertion macros using stdio.
- typeclass_helpers: macros to help with typeclasses.
- mirror: a mirror typeclass that uses macros to enable casting typeclass instances to other typeclass instances.
- drop: a drop typeclass to destroy objects.
- variant: a variant struct, mainly useful in combination with dictionaries for (de-)serialization
- vmath: float and int vector math
- strutil: some string utilities
- list: a heap-allocated dynamically sized list.
- dictionary: a heap-allocated string-key hashmap.
