Go to the source code of this file.
Value:if (!(x)) \
__FILE__,__LINE__); \
}
const ERRCODE ASSERT_FAILED
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
Definition at line 84 of file errcode.h.
| #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 26 of file errcode.h.
Definition at line 73 of file globaloc.cpp.
void signal_exit(int signal_code)
| 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 | ) |
|
| void signal_termination_handler |
( |
int |
sig | ) |
|
Definition at line 78 of file globaloc.cpp.
79 const ERRCODE SIGNAL_HANDLER_ERR =
"Signal_termination_handler called";
80 SIGNAL_HANDLER_ERR.
error(
"signal_termination_handler",
ABORT,
"Code %d", sig);
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
void signal_exit(int signal_code)
| const ERRCODE ASSERT_FAILED = "Assert failed" |