Go to the source code of this file.
◆ __attribute__
#define __attribute__ |
( |
|
attr | ) |
|
◆ ASSERT_HOST
#define ASSERT_HOST |
( |
|
x | ) |
(x) ? DO_NOTHING : ASSERT_FAILED.error(#x, ABORT, "in file %s, line %d", __FILE__, __LINE__) |
◆ 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__); \
}
void error(const char *caller, TessErrorLogCode action, const char *format,...) const __attribute__((format(printf
Definition at line 57 of file errcode.h.
◆ DO_NOTHING
#define DO_NOTHING static_cast<void>(0) |