20,741
edits
| Line 148: | Line 148: | ||
struct naPool { | struct naPool { | ||
int type; // one of T_STR, T_VEC, T_HASH etc | int type; // one of T_STR, T_VEC, T_HASH etc | ||
int elemsz; // size of each element - | int elemsz; // size of each element - determined via naTypeSize(T_*) | ||
struct Block* blocks; | struct Block* blocks; | ||
void** free0; // pointer to the alloced buffer | void** free0; // pointer to the alloced buffer | ||