Single linked list item.
Definition: CNListItem.h:16
static struct CNListItem * CNNextListItem(const struct CNListItem *src)
Get next item of source list item.
Definition: CNListItem.h:59
Define CNResource data structure.
static void CNReleaseListItem(struct CNResource *resource, struct CNListItem *item)
Release CNListItem object.
Definition: CNListItem.h:48
struct CNListItem * _nextItem
Definition: CNListItem.h:18
void CNReleaseData(struct CNResource *resource, size_t size, void *src)
Release memory object into resource.
static void * CNDataOfListItem(const struct CNListItem *src)
Get data of list item.
Definition: CNListItem.h:81
void * dataPtr
Definition: CNListItem.h:22
void * CNAllocateData(struct CNResource *resource, size_t size)
Allocate data memory.
struct CNListItem * _prevItem
Definition: CNListItem.h:20
static struct CNListItem * CNPrevListItem(const struct CNListItem *src)
Get previous item of source list item.
Definition: CNListItem.h:70
static struct CNListItem * CNAllocateListItem(void *data, struct CNResource *resource)
Allocate CNListItem.
Definition: CNListItem.h:34