Go to the documentation of this file.
11 void _ic_assert_fail(
const char * file,
int line,
const char * expr,
const char * msg);
18 #define IC_ASSERT(expr, msg...) \
19 (expr) == 0 ? _ic_assert_fail(__FILE__, __LINE__, #expr, ""##msg) : ({})
28 #define IC_ASSERT_CONDITION(expr, condition, msg...) \
30 __auto_type const _IC_ASSERT_expr_ = (expr); \
31 (_IC_ASSERT_expr_ condition) ? _ic_assert_fail(__FILE__, __LINE__, #expr, ""##msg) \