Go to the documentation of this file.
7 #ifndef ARB_SIMPLE_ASSERT_H
11 #define aisc_assert(cond) arb_assert(cond)
39 #if defined(SHOW_CALLER)
40 #define CALLER_FILE __FILE__
41 #define CALLER_LINE __LINE__
42 #else // !defined(SHOW_CALLER)
43 #define CALLER_FILE NULp
47 #define print_error(code_or_loc, err) (code_or_loc)->print_error_internal(err, CALLER_FILE, CALLER_LINE)
48 #define print_warning(code_or_loc, err) (code_or_loc)->print_warning_internal(err, CALLER_FILE, CALLER_LINE)
50 #define printf_error(code_or_loc, format, arg) print_error(code_or_loc, formatted(format, arg))
51 #define printf_warning(code_or_loc, format, arg) print_warning(code_or_loc, formatted(format, arg))
54 #error aisc_def.h included twice