Pyrogenesis  trunk
Public Attributes | List of all members
Pool Struct Reference

allocator design parameters: More...

#include <pool.h>

Collaboration diagram for Pool:
Collaboration graph
[legend]

Public Attributes

DynArray da
 
size_t el_size
 size of elements. More...
 
void * freelist
 pointer to freelist (opaque); see freelist_*. More...
 

Detailed Description

allocator design parameters:

opaque! do not read/write any fields!

Member Data Documentation

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.


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