Zen API
|
#define kAssertType | ( | OBJECT, | |
SYMBOL | |||
) |
Aborts execution if the type of the OBJECT argument is not equivalent to kTypeOf(SYMBOL).
Type is equivalence is determined using kObject_Is.
kAssertType statements are omitted if neither K_DEBUG nor K_ASSERT is defined.
OBJECT | Expression that evaluates to a kType value. |
SYMBOL | Type symbol, such as kArrayList. |