45 * (class_ptr *)
object =
class;
46 object +=
sizeof(
void*);
48 RETCALL(
object, Class, ctor, ret, params);
63 va_start(params,
class);
73 if (NULL != *
object) {
76 CALL(*
object, Class, dtor);
78 mem = *
object -
sizeof(
void*);
87 class_ptr
class = GET_CLASS(_object);
90 * (class_ptr *)
object =
class;
91 object +=
sizeof(
void*);
void classDelete(void **object)
#define CALL(object, _iface, method,...)
void * classNew(class_ptr class,...)
void * classClone(void *_object)
#define RETCALL(object, _iface, method, ret,...)
void * memCalloc(size_t, size_t)
void * classNewParams(class_ptr class, va_list *params)