11 #include <Coconut/Coconut.h>
41 KERetainArray(
struct KEArray * dst)
51 KEReleaseArray(
struct KEArray * dst)
61 static inline struct CNResource *
62 KEResourceOfArray(
struct KEArray * src)
64 return KEResourceOfObject(&(src->
superClass)) ;
72 static inline uint64_t
73 KECountOfArray(
struct KEArray * src)
103 KEValueInArray(
const struct KEArray * src, uint64_t index)
105 return CNPointerInArray(&(src->
valueArray), index) ;
Array of KEValue.
Definition: KEArray.h:21
void KEAddValueToArray(struct KEArray *dst, struct KEValue *src)
Add vaoue as the last element of the array.
struct CNArray valueArray
Definition: KEArray.h:25
Definition: KEObject.h:42
struct KEArray * KEAllocateArray(struct CNResource *resource)
Allocate value array.
void KESetValueToArray(struct KEArray *dst, uint64_t index, struct KEValue *src)
Set value to the array at the given index.
struct KEObject superClass
Definition: KEArray.h:23
void KEDumpArray(struct CNText *outbuf, struct KEArray *src)
Dump all elements in value array.
Forward declarations of the data type in KiwiEngine.