Defines | |
#define | NUMELEMS(_a) (sizeof(_a)/sizeof(_a[0])) |
Macro that returns the number of elemens in an array. | |
#define | UNUSED(_a) if (0 && (_a)); |
Macro to mark a variable as unused to stop the compiler from complaining. | |
#define | VALIDATE(_a, _cl) |
First level validation macro that checks that an instance argument is not null and is of the right class. More... | |
#define | CHECKINSTANCEISCLASS(_a) |
|
Value: ASSERT(_a, "Null object pointer"); \ ASSERT((_a)->pClass->uMagic == CLASSMAGIC, "Parameter is not a class instance"); |
|
Value: ASSERT(_a, "Null object pointer"); \ ASSERT((_a)->header.pClass == &(_cl), "Wrong class of object passed in")
|