Go to the documentation of this file.
10 #ifndef MI_NEURAYLIB_ASSERT_H
11 #define MI_NEURAYLIB_ASSERT_H
50 #if defined( mi_neuray_assert) && ! defined( mi_neuray_assert_msg) \
51 || ! defined( mi_neuray_assert) && defined( mi_neuray_assert_msg)
52 error
"Only one of mi_neuray_assert and mi_neuray_assert_msg has been defined. Please define both."
54 #ifndef mi_neuray_assert
70 #define mi_neuray_assert(expr) mi_base_assert(expr)
91 #define mi_neuray_assert_msg(expr, msg) mi_base_assert_msg(expr, msg)
93 #endif // mi_neuray_assert
94 #endif // mi_neuray_assert xor mi_neuray_assert_msg
103 #endif // MI_NEURAYLIB_ASSERT_H