Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
allocator design parameters: More...
#include <pool.h>
Public Attributes | |
DynArray | da |
size_t | el_size |
size of elements. More... | |
void * | freelist |
pointer to freelist (opaque); see freelist_*. More... | |
allocator design parameters:
opaque! do not read/write any fields!
DynArray Pool::da |
size_t Pool::el_size |
size of elements.
= 0 if pool set up for variable-sized elements, otherwise rounded up to pool alignment.
void* Pool::freelist |
pointer to freelist (opaque); see freelist_*.
never used (remains 0) if elements are of variable size.