Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kSuccess | ( |  | EXPRESSION | ) | kSuccess_(EXPRESSION)

Returns kTRUE if the given expression value is 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 equal to kOK; kFALSE otherwise.

See also
  Error Handling