1 /** @file debug.h 2 * Debugging helpers 3 */ 4 #ifndef RAZORBACK_DEBUG_H 5 #define RAZORBACK_DEBUG_H 6 7 8 #ifdef ENABLE_ASSERT 9 #include <assert.h> 10 #define ASSERT(x) assert(x) 11 #else 12 #define ASSERT(x) ; 13 #endif 14 15 #ifdef ENABLE_UNIMPLEMENTED_ASSERT 16 #define UNIMPLEMENTED() ASSERT(false) 17 #else 18 #define UNIMPLEMENTED() ; 19 #endif 20 21 #endif //RAZORBACK_DEBUG_H 22