maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
MDATA_STRPOOL Struct Reference

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: