Coconut Framework
beta
|
Define CNPool data structure. More...
Go to the source code of this file.
Classes | |
struct | CNPool |
Pool of variable data. More... | |
Functions | |
void | CNInitPool (struct CNPool *dst) |
Initialize CNPool context. More... | |
void * | CNAllocateDataToPool (struct CNPool *pool, size_t size) |
Allocate data in the CNPool. More... | |
void | CNDestroyPool (struct CNPool *dst) |
Release context in CNPool. More... | |
void | CNProfileOfPool (struct CNMemoryProfile *dst, const struct CNPool *pool) |
Get memory profile of memory pool. More... | |
Define CNPool data structure.
void* CNAllocateDataToPool | ( | struct CNPool * | pool, |
size_t | size | ||
) |
void CNProfileOfPool | ( | struct CNMemoryProfile * | dst, |
const struct CNPool * | pool | ||
) |
Get memory profile of memory pool.
dst | Destination profile |
pool | Source memory pool |