Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#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.

Parameters
OBJECTExpression that evaluates to a kType value.
SYMBOLType symbol, such as kArrayList.