Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kIsError | ( |  | EXPRESSION | ) | kIsError_(EXPRESSION)

Returns kTRUE if the given status value is not kOK.

This macro is guaranteed to evaluate its arguments only once.

Parameters

  EXPRESSION | Expression that evaluates to a kStatus value.

Returns
  kTRUE if the argument is not equal to kOK; kFALSE otherwise.

See also
  Error Handling