|
SGDK
A free and open development kit for the Sega Mega Drive
|
Object pool allocator structure. More...
#include <pool.h>
Public Attributes | |
| void * | bank |
| void ** | allocStack |
| void ** | free |
| u16 | objectSize |
| u16 | size |
Object pool allocator structure.
| bank | bank data |
| allocStack | allocation stack used for fast allocate / release operation |
| free | point on first available object in the allocation stack |
| objectSize | size of a single object (in bytes) |
| size | size of the object pool (in number of object) |