An easy way to menage a pool of strings. More...
#include <sppool.h>
Data Fields | |
| string | strings [MAX_DIM_STRING_POOL] | 
| A string array.   | |
| uint | used_counter | 
| Just an uint counter that count how many strings really exists into the array.   | |
| uint | positions [MAX_DIM_STRING_POOL] | 
| Any array element may be UNUSED_SLOT or USED_SLOT .   | |
An easy way to menage a pool of strings.
Any array element may be UNUSED_SLOT or USED_SLOT .
That is used to easly understand if position i of the strings array is used or not; for that reason the array size is MAX_DIM_STRING_POOL
A string array.
The size is MAX_DIM_STRING_POOL
Just an uint counter that count how many strings really exists into the array.
 1.6.3