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 ASSERT_HOST_MSG |
( |
|
x, |
|
|
|
msg... |
|
) |
| |
Value:if (!(x)) \
__FILE__, __LINE__); \
}
const ERRCODE ASSERT_FAILED
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
Definition at line 98 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.
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 | ) |
|
Definition at line 52 of file globaloc.cpp.
53 tprintf(
"Received signal %d!\n", signal_code);
61 fprintf(stderr,
"Crash caused by image with resolution %d\n",
63 fprintf(stderr,
"<Cut here>\n");
65 fprintf(stderr,
"\n<End cut>\n");
const int kMaxNumThreadPixes
Pix * global_crash_pixes[kMaxNumThreadPixes]
const ERRCODE ASSERT_FAILED = "Assert failed" |