Coconut Framework
beta
|
Define CNResourceLinks data structure. More...
Go to the source code of this file.
Functions | |
struct CNResourceLinks * | CNAllocateResourceLinkPool (void) |
Allocate list item pool. More... | |
struct CNResourceLink * | CNAllocateResourceLink (struct CNResourceLinks *pool) |
Allocate list item from pool. More... | |
void | CNReleaseResourceLink (struct CNResourceLinks *pool, struct CNResourceLink *src) |
Release list item to pool. More... | |
void | CNFreeResourceLinkPool (struct CNResourceLinks *dst) |
Release all objects in the list item pool. More... | |
void | CNProfileOfResourceLinkPool (struct CNMemoryProfile *dst, const struct CNResourceLinks *links) |
Get memory profile of list item pool. More... | |
Define CNResourceLinks data structure.
struct CNResourceLinks* CNAllocateResourceLinkPool | ( | void | ) |
Allocate list item pool.
struct CNResourceLink* CNAllocateResourceLink | ( | struct CNResourceLinks * | pool | ) |
Allocate list item from pool.
pool | Source list item pool |
void CNReleaseResourceLink | ( | struct CNResourceLinks * | pool, |
struct CNResourceLink * | src | ||
) |
Release list item to pool.
pool | Destination pool |
src | Source list item |
void CNFreeResourceLinkPool | ( | struct CNResourceLinks * | dst | ) |
Release all objects in the list item pool.
dst | Destination pool |
void CNProfileOfResourceLinkPool | ( | struct CNMemoryProfile * | dst, |
const struct CNResourceLinks * | links | ||
) |
Get memory profile of list item pool.
dst | Destination to store profile |
links | Source list item pool |