SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
Pool Struct Reference

Object pool allocator structure. More...

#include <pool.h>

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: