Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kObjNR | ( |  | TypeName_T,
|  |  | VarName_obj,
|  |  | T_object
| ) |  |

Declares a local this-pointer variable with a specified name and initializes it from an object handle, without type-checking.

The "N" and "R" suffixes refer to providing a "named" this-variable with "raw" (unchecked) access, respectively. This macro is provided to simplify automated porting of preexisting code and is not recommended for future use.

Parameters

  TypeName_T | Class type name (e.g. kObject).
  VarName_obj | This variable name (e.g. obj).
  T_object | Class instance (e.g. object).