Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kCheck (   EXPRESSION)    kCheck_(EXPRESSION)

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

If the expression result is not kOK, the current function will return the expression result.

This macro is guaranteed to evaluate its arguments only once.

Parameters
EXPRESSIONExpression that evaluates to a kStatus value.
See also
Error Handling