Go to the source code of this file.
Value:(x) \
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
constexpr ERRCODE ASSERT_FAILED("Assert failed")
Definition at line 88 of file errcode.h.
| #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 92 of file errcode.h.
| #define DO_NOTHING (void)(0) |
| #define LOC_DOC_BLK_REJ 22 |
| #define LOC_FUZZY_SPACE 14 |
| #define LOC_TEXT_ORD_ROWS 5 |
| #define LOC_TEXT_ORD_WORDS 6 |
| #define LOC_WRITE_RESULTS 23 |
| #define SUBSUBLOC_OTHER 0 |
| Enumerator |
|---|
| DBG |
|
| TESSLOG |
|
| TESSEXIT |
|
| ABORT |
|
Definition at line 25 of file errcode.h.
| constexpr ERRCODE ASSERT_FAILED |
( |
"Assert failed" |
| ) |
|
| void set_global_loc_code |
( |
int |
loc_code | ) |
|
| void set_global_subloc_code |
( |
int |
loc_code | ) |
|
| void set_global_subsubloc_code |
( |
int |
loc_code | ) |
|
| void signal_exit |
( |
int |
signal_code | ) |
|