Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kCheckTrue | ( |  | EXPRESSION,
|  |  | STATUS
| ) |  |

Executes a return statement if the given expression is kFALSE.

If the expression result is kFALSE, the current function will return STATUS.

Parameters

  EXPRESSION | Expression that evaluates to a kBool value.
  STATUS | Status code to be returned if EXPRESSION is kFALSE.

See also
  Error Handling