Go to the documentation of this file.
18 void __assert_fail(
const QString& assertion,
const char* file,
unsigned int line,
const char*
function);
21 # define mgx_assert(expr) static_cast<void>(0)
22 # define mgx_assert_msg(expr, msg) static_cast<void>(0)
32 # define mgx_assert(expr) \
33 ((expr) ? static_cast<void>(0) : mgx::util::__assert_fail(#expr, __FILE__, __LINE__, __PRETTY_FUNCTION__))
34 # define mgx_assert_msg(expr, msg) \
35 ((expr) ? static_cast<void>(0) : mgx::util::__assert_fail(msg, __FILE__, __LINE__, __PRETTY_FUNCTION__))