Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kObjR (   TypeName_T,
  T_object 
)

Declares a local "obj" (this-pointer) variable and initializes it from an object handle, without type-checking.

The "R" suffix refers to "raw" (unchecked) access. This macro should be used in (and only in) class initializer methods, where type information has not yet been established for the object.

Parameters
TypeName_TClass type name (e.g. kObject).
T_objectClass instance (e.g. object).