8 #ifndef CNResourcePool_H
9 #define CNResourcePool_H
struct CNResourceLinks * listItemPool
Definition: CNResourcePool.h:24
void CNProfileOfResourcePool(struct CNMemoryProfile *dst, const struct CNResourcePool *pool)
Get memory profile of resource pool.
struct CNResourceLink * freeItems
Definition: CNResourcePool.h:26
void * CNAllocateDataToResourcePool(struct CNResourcePool *pool)
Allocate data in the resource.
Information to present memory profile.
Definition: CNMemoryProfile.h:16
Define CNResourceLinks data structure.
struct CNResourcePool * nextPool
Definition: CNResourcePool.h:20
Define CNMemoryProfile data structure.
struct CNResourcePool * CNAllocateResourcePool(struct CNResourceLinks *pool, size_t size)
Allocate CNResourcePool object.
void CNReleaseDataToResourcePool(struct CNResourcePool *pool, void *src)
Release data to the resource pool.
struct CNResourceLink * pageItems
Definition: CNResourcePool.h:28
Resource pool to keep same size objects.
Definition: CNResourcePool.h:18
Data structure for list-ite.
Definition: CNResourceLink.h:14
size_t itemSize
Definition: CNResourcePool.h:22
void CNFreeResourcePool(struct CNResourcePool *pool)
Deallocate CNResourcePool object.