Go to the documentation of this file.
9 #ifndef MI_NEURAYLIB_ASSERT_H
10 #define MI_NEURAYLIB_ASSERT_H
47 #if defined( mi_neuray_assert) && ! defined( mi_neuray_assert_msg) \
48 || ! defined( mi_neuray_assert) && defined( mi_neuray_assert_msg)
49 error "Only one of mi_neuray_assert and mi_neuray_assert_msg has been defined. Please define both."
51 #ifndef mi_neuray_assert
67 #define mi_neuray_assert(expr) mi_base_assert(expr)
87 #define mi_neuray_assert_msg(expr, msg) mi_base_assert_msg(expr, msg)
89 #endif // mi_neuray_assert
90 #endif // mi_neuray_assert xor mi_neuray_assert_msg
99 #endif // MI_NEURAYLIB_ASSERT_H