Open Enclave  0.14.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages

◆ oe_assert

#define oe_assert (   EXPR)
Value:
do \
{ \
if (!(EXPR)) \
__oe_assert_fail(#EXPR, __FILE__, __LINE__, __FUNCTION__); \
} while (0)

Evaluates assertion.

If EXPR evaulates to zero, this function is called with the string representation of the expression as well as the file, the line, and the function name where the macro was expanded.