Go to the source code of this file.
◆ ASSERT_HOST
◆ ASSERT_HOST_MSG
| #define ASSERT_HOST_MSG |
( |
|
x, |
|
|
|
... |
|
) |
| |
Value:if (!(x)) { \
tprintf(__VA_ARGS__); \
ASSERT_FAILED.error(#x,
ABORT,
"in file %s, line %d", __FILE__, __LINE__); \
}
Definition at line 91 of file errcode.h.
◆ DO_NOTHING
| #define DO_NOTHING (void)(0) |
◆ FILE_ABORT
◆ LIST_ABORT
◆ LOC_ADAPTIVE
◆ LOC_DOC_BLK_REJ
| #define LOC_DOC_BLK_REJ 22 |
◆ LOC_EDGE_PROG
◆ LOC_FUZZY_SPACE
| #define LOC_FUZZY_SPACE 14 |
◆ LOC_INIT
◆ LOC_MM_ADAPT
◆ LOC_PASS1
◆ LOC_PASS2
◆ LOC_TEXT_ORD_ROWS
| #define LOC_TEXT_ORD_ROWS 5 |
◆ LOC_TEXT_ORD_WORDS
| #define LOC_TEXT_ORD_WORDS 6 |
◆ LOC_UNUSED0
◆ LOC_UNUSED1
◆ LOC_UNUSED2
◆ LOC_WRITE_RESULTS
| #define LOC_WRITE_RESULTS 23 |
◆ MEMORY_ABORT
◆ NO_ABORT_CODE
◆ SUBLOC_FIX_XHT
◆ SUBLOC_NORM
◆ SUBSUBLOC_NN
◆ SUBSUBLOC_OTHER
| #define SUBSUBLOC_OTHER 0 |
◆ SUBSUBLOC_TESS
◆ TessErrorLogCode
| Enumerator |
|---|
| DBG | |
| TESSLOG | |
| TESSEXIT | |
| ABORT | |
Definition at line 24 of file errcode.h.
◆ ASSERT_FAILED()
| constexpr ERRCODE ASSERT_FAILED |
( |
"Assert failed" |
| ) |
|
|
constexpr |
◆ set_global_loc_code()
| void set_global_loc_code |
( |
int |
loc_code | ) |
|
◆ set_global_subloc_code()
| void set_global_subloc_code |
( |
int |
loc_code | ) |
|
◆ set_global_subsubloc_code()
| void set_global_subsubloc_code |
( |
int |
loc_code | ) |
|
◆ signal_exit()
| void signal_exit |
( |
int |
signal_code | ) |
|