#define _c | ( | ths | ) | (ths)->_class |
the marco get the class of a object
Definition at line 34 of file mobject.h.
Referenced by ncsGetChildObj(), and ncsGetDlgCode().
#define _IM | ( | piobj, | |||
method, | |||||
... | ) | (piobj)->_vtable->method(INTEFACE_ADJUST(piobj), ##__VA_ARGS__) |
mObjectClass *(* PClassConstructor)(mObjectClass *cls) |
typedef void(* PCONSTRUCT_DWORD)(void *self, DWORD addData) |
We support two kind of construct: one is the old construct, uses DWORD to pass the user params; the other is new construct, use the va_list to pass the params
mgncs don't known which construct of an object use, we just pass them by diffrent wrapper
the caller must known which wrapper should be used.
if you use the wrong wrapper, the system may be CRASH
static mObject* _initObject | ( | mObject * | pobj, | |
mObjectClass * | _class, | |||
DWORD | param | |||
) | [inline, static] |
static mObject* initObjectArgs | ( | mObject * | pobj, | |
mObjectClass * | _class, | |||
... | ||||
) | [inline, static] |
the singleton of mObjectClass, represent a class object