aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2cf0c136851a174dd187d1fe53035ae3a760ab67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.