44void *
PoolAlloc(
int classSize,
int reqSize,
const char *name,
int unused);
void * PoolChunkAlloc(int bytes)
Carve memory for pool nodes from the current chunk, taking a new chunk when it is too small.
void _PoolFree(int size, void *mem)
Free memory from _PoolAlloc().
int gPoolChunkBytes
Bytes taken through PoolChunkAlloc().
void PoolAllocInit(DataArray *config)
Read the chunk sizes of the pools from the pool configuration.
void PoolReport(PrnStream &stream)
Print the use of the pools.
void PoolFree(int size, void *mem)
Return an object to the pools.
void * PoolAlloc(int classSize, int reqSize, const char *name, int unused)
Allocate an object from the pools.
void * _PoolAlloc(int size, const char *name)
Allocate from the pools, or from the current heap when the size exceeds 128 bytes.
Reference-counted array of script data nodes.
Definition dataarray.h:20
Text output stream.
Definition prnstream.h:16