Go to the source code of this file.
|
typedef void() | env_assert_handler(const char *what, int custom_msg, const char *where, int line_no) |
|
Interface to syslog
Definition in file env_log.h.
◆ ENV_ASSERT
#define ENV_ASSERT |
( |
|
expr | ) |
do { if ( !(expr) ) env_assert(#expr, 0, __FILE__, __LINE__); } while(0) |
◆ ENV_ASSERT2
#define ENV_ASSERT2 |
( |
|
expr, |
|
|
|
msg |
|
) |
| do { if ( !(expr) ) env_assert(msg, 1, __FILE__, __LINE__); } while(0) |
◆ env_assert_handler
typedef void() env_assert_handler(const char *what, int custom_msg, const char *where, int line_no) |
◆ env_assert()
void env_assert |
( |
const char * |
what, |
|
|
int |
custom_msg, |
|
|
const char * |
where, |
|
|
int |
line_no |
|
) |
| |
◆ env_assert_set_handler()