Go to the documentation of this file.
10 #ifndef MI_NEURAYLIB_ASSERT_H
11 #define MI_NEURAYLIB_ASSERT_H
48 #if defined( mi_neuray_assert) && ! defined( mi_neuray_assert_msg) \
49 || ! defined( mi_neuray_assert) && defined( mi_neuray_assert_msg)
50 error
"Only one of mi_neuray_assert and mi_neuray_assert_msg has been defined. Please define both."
52 #ifndef mi_neuray_assert
68 #define mi_neuray_assert(expr) mi_base_assert(expr)
88 #define mi_neuray_assert_msg(expr, msg) mi_base_assert_msg(expr, msg)
90 #endif // mi_neuray_assert
91 #endif // mi_neuray_assert xor mi_neuray_assert_msg
100 #endif // MI_NEURAYLIB_ASSERT_H