Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kCastClass_ | ( |  | TYPE,
|  |  | OBJECT
| ) |  |

Type-checks the specified object before returning a class-typed pointer to its implementation.

Warning: This macro evaluates its arguments more than once.

Parameters

  TYPE | Type (e.g. kObject).
  OBJECT | Object instance.

Returns
  Pointer to object fields.

See also
  Extending Zen