maug
Quick and dirty C mini-augmentation library.
|
A pool of immutable text strings. Deduplicates strings to save memory. More...
#include <mdata.h>
Data Fields | |
MAUG_MHANDLE | str_h |
size_t | str_sz |
size_t | str_sz_max |
A pool of immutable text strings. Deduplicates strings to save memory.
Append strings with mdata_strpool_append(), then reference them by the returned character index. Find strings with mdata_strpool_find() later and store that index.