Summary Files Commits Branches @commit @diff @stats
NameSize
BumpAlloc.c2.8 KiBlog stats plain blame
BumpAlloc.h148 Blog stats plain blame
HashTable.c5.5 KiBlog stats plain blame
HashTable.h855 Blog stats plain blame
MemoryManager.c4.3 KiBlog stats plain blame
MemoryManager.h609 Blog stats plain blame
README.md568 Blog stats plain blame
String.c4.8 KiBlog stats plain blame
String.h790 Blog stats plain blame
Types.h1.9 KiBlog stats plain blame
Vector.c2.3 KiBlog stats plain blame
Vector.h476 Blog stats plain blame
example.c1.4 KiBlog stats plain blame

foollib

A collection of C99 utilities and containers.

Memory manager

The primary concept behind this repository is the MemoryManager. It provides a generic allocation/deallocation interface, allowing you to use different allocators in different scenarios.

The standard allocator (M_std) provides a trivial wrapper over malloc and free. For convenience, M_STD is a global object, which contains the trivial wrappers. In case you do not want any special memory management, you should pass M_STD when a MemoryManager is required.