34 #define NO_ABORT_CODE 0
36 #define MEMORY_ABORT 2
44 #define LOC_EDGE_PROG 4
45 #define LOC_TEXT_ORD_ROWS 5
46 #define LOC_TEXT_ORD_WORDS 6
50 #define LOC_FUZZY_SPACE 14
52 #define LOC_MM_ADAPT 21
53 #define LOC_DOC_BLK_REJ 22
54 #define LOC_WRITE_RESULTS 23
55 #define LOC_ADAPTIVE 24
60 #define SUBLOC_FIX_XHT 3
65 #define SUBSUBLOC_OTHER 0
66 #define SUBSUBLOC_TESS 1
67 #define SUBSUBLOC_NN 2
75 const char *format, ...
84 #define ASSERT_HOST(x) if (!(x)) \
86 ASSERT_FAILED.error(#x, ABORT, "in file %s, line %d", \
87 __FILE__, __LINE__); \
91 #define ASSERT_HOST_MSG(x, msg, ...) if (!(x)) \
94 ASSERT_FAILED.error(#x, ABORT, "in file %s, line %d", \
95 __FILE__, __LINE__); \
98 #define ASSERT_HOST_MSG(x, msg...) if (!(x)) \
101 ASSERT_FAILED.error(#x, ABORT, "in file %s, line %d", \
102 __FILE__, __LINE__); \
void set_global_loc_code(int loc_code)
ERRCODE(const char *string)
const ERRCODE ASSERT_FAILED
void signal_exit(int signal_code)
void set_global_subsubloc_code(int loc_code)
void set_global_subloc_code(int loc_code)