Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kCheckState | ( |  | EXPRESSION | ) | kCheckState_(EXPRESSION)

Executes a return statement if the given expression is not kTRUE.

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

This macro is guaranteed to evaluate its arguments only once.

Parameters

  EXPRESSION | Expression that evaluates to a kBool value.

See also
  Error Handling