 |
HBBTV
22.3.0
|
Go to the documentation of this file. 38 #ifdef DEBUG_ASSERT_STANDARD 44 #ifdef DEBUG_FUNCTIONS 46 #define FUNCTION_START(x) HBBTV_DBGPrint("START: " # x "\n") 47 #define FUNCTION_FINISH(x) HBBTV_DBGPrint("END : " # x "\n") 49 #define FUNCTION_START(x) 50 #define FUNCTION_FINISH(x) 56 #define ASSERT(assertion) if (!(assertion)) { HBBTV_DBGPrint("ASSERT: %s - %s:%d\n", #assertion, __FILE__, __LINE__); } 58 #ifdef DEBUG_ASSERT_STANDARD 59 #define ASSERT(assertion) assert(assertion) 60 #else // DEBUG_ASSERT_STANDARD 61 #define ASSERT(assertion) 62 #endif // DEBUG_ASSERT_STANDARD 63 #endif // DEBUG_ASSERT