Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kCheckArgs | ( |  | EXPRESSION | ) | kCheckArgs_(EXPRESSION)

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

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

This macro is guaranteed to evaluate its arguments only once.

Parameters

  EXPRESSION | Expression that evaluates to a kBool value.

See also
  Error Handling