debug.hpp revision 0
1879N/A#ifdef USE_REPEATED_ASSERTS
0N/A BREAKPOINT; \
0N/A BREAKPOINT; \
0N/A BREAKPOINT; \
0N/A#define fatal3(m,x1,x2,x3) { report_fatal_vararg(__FILE__, __LINE__, m, x1, x2, x3 ); BREAKPOINT; }
0N/A#define fatal4(m,x1,x2,x3,x4) { report_fatal_vararg(__FILE__, __LINE__, m, x1, x2, x3, x4 ); BREAKPOINT; }
0N/A#define vm_exit_out_of_memory(s,m) { report_vm_out_of_memory(__FILE__, __LINE__, s, m ); BREAKPOINT; }
0N/A#define vm_exit_out_of_memory1(s,m,x1) { report_vm_out_of_memory_vararg(__FILE__, __LINE__, s, m, x1 ); BREAKPOINT; }
0N/A#define vm_exit_out_of_memory2(s,m,x1,x2) { report_vm_out_of_memory_vararg(__FILE__, __LINE__, s, m, x1, x2 ); BREAKPOINT; }
0N/A#define vm_exit_out_of_memory3(s,m,x1,x2,x3) { report_vm_out_of_memory_vararg(__FILE__, __LINE__, s, m, x1, x2, x3 ); BREAKPOINT; }
0N/A#define vm_exit_out_of_memory4(s,m,x1,x2,x3,x4) { report_vm_out_of_memory_vararg(__FILE__, __LINE__, s, m, x1, x2, x3, x4); BREAKPOINT; }
0N/Avoid report_vm_out_of_memory_vararg(const char* file_name, int line_no, size_t size, const char* format, ...);
0N/Avoid report_vm_out_of_memory(const char* file_name, int line_no, size_t size, const char* message);
0N/Abool is_error_reported();
0N/Avoid set_error_reported();