11 #include <Coconut/Coconut.h>
25 typedef const char * (*KETypeNameOfObjectFuncRef)(void) ;
65 KERetainObject(
struct KEObject * dst)
75 KEReleaseObject(
struct KEObject * dst)
85 static inline struct CNResource *
86 KEResourceOfObject(
struct KEObject * src)
88 return CNResourceOfObject(&(src->
superClass)) ;
97 KEMethodsOfObject(
const struct KEObject * src)
108 KETypeOfObject(
const struct KEObject * src)
118 static inline const char *
119 KETypeNameOfObject(
const struct KEObject * src)
131 KEDumpObject(
struct CNText * outbuf,
struct KEObject * src)
const char *(* KETypeNameOfObjectFuncRef)(void)
Definition: KEObject.h:25
KEDumpObjectFuncRef dumpFuncRef
Definition: KEObject.h:38
struct CNObjectMethods superClass
Definition: KEObject.h:34
struct KEObject * KEAllocateObject(KEObjectType type, size_t objsize, const struct KEObjectMethods *methods, struct CNResource *resource)
Allocate the sub class of KEObject.
KEObjectType
Definition: KEObject.h:15
Definition: KEObject.h:42
KETypeNameOfObjectFuncRef typeNameFuncRef
Definition: KEObject.h:36
Definition: KEObject.h:32
KEObjectType objectType
Definition: KEObject.h:46
Forward declarations of the data type in KiwiEngine.
void(* KEDumpObjectFuncRef)(struct CNText *outbuf, struct KEObject *src)
Definition: KEObject.h:28
struct CNObject superClass
Definition: KEObject.h:44