51 static inline struct CNResource *
62 static inline uint64_t
Array of fixed number of pointers.
Definition: CNFixedArray.h:18
struct CNList CNElementListOfFixedArray(const struct CNFixedArray *src, struct CNResource *resource)
Make element list of array.
List of pointers.
Definition: CNList.h:17
void ** arrayBody
Definition: CNFixedArray.h:24
Forward declaration of data types.
CNBoolean(* CNVisitElementOfFixedArrayFuncRef)(uint64_t index, void *src, void *info)
Definition: CNFixedArray.h:28
struct CNResource * resource
Definition: CNFixedArray.h:20
void * CNSetPointerToFixedArray(struct CNFixedArray *dst, uint64_t index, void *src)
Set pointer to the array at the given index.
uint64_t maxNum
Definition: CNFixedArray.h:22
void CNInitFixedArray(struct CNFixedArray *dst, uint64_t maxnum, struct CNResource *resource)
Initialize pointer array.
void * CNPointerInFixedArray(const struct CNFixedArray *src, uint64_t index)
Get element in the fixed array.
void CNDestroyFixedArray(struct CNFixedArray *dst)
Release all resource the fixed array.
Define primitive data types.
static uint64_t CNCountOfFixedArray(const struct CNFixedArray *src)
Get the count of elements in the fixed array.
Definition: CNFixedArray.h:63
static struct CNResource * CNResourceOfFixedArray(const struct CNFixedArray *src)
Get resource of fixed array.
Definition: CNFixedArray.h:52
unsigned int CNBoolean
Boolean type.
Definition: CNType.h:14
CNBoolean CNVisitElementOfFixedArray(const struct CNFixedArray *src, CNVisitElementOfFixedArrayFuncRef visitfunc, void *info)
Visit all elements in the fixed array.