sgdk
Pool Struct Reference

Object pool allocator structure. More...

#include <pool.h>

List of all members.

Public Attributes

void * bank
void ** allocStack
void ** free
u16 objectSize
u16 size

Detailed Description

Object pool allocator structure.

Parameters:
bankbank data
allocStackallocation stack used for fast allocate / release operation
freepoint on first available object in the allocation stack
objectSizesize of a single object (in bytes)
sizesize of the object pool (in number of object)

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines