JX Application Framework
|
Macros | |
#define | assert(x) ((void) ((x) || JAssert(#x, __FILE__, __LINE__, "", BOOST_CURRENT_FUNCTION))) |
#define | assert_msg(x, msg) ((void) ((x) || JAssert(#x, __FILE__, __LINE__, msg, BOOST_CURRENT_FUNCTION))) |
#define | assert_ok(x) ((void) ((x).OK() || JAssert((x).GetMessage().GetBytes(), __FILE__, __LINE__, "", BOOST_CURRENT_FUNCTION))) |
Functions | |
int | JAssert (const char *, const char *, const int, const char *message, const char *function) |
#define assert | ( | x | ) | ((void) ((x) || JAssert(#x, __FILE__, __LINE__, "", BOOST_CURRENT_FUNCTION))) |
#define assert_msg | ( | x, | |
msg | |||
) | ((void) ((x) || JAssert(#x, __FILE__, __LINE__, msg, BOOST_CURRENT_FUNCTION))) |
#define assert_ok | ( | x | ) | ((void) ((x).OK() || JAssert((x).GetMessage().GetBytes(), __FILE__, __LINE__, "", BOOST_CURRENT_FUNCTION))) |
int JAssert | ( | const char * | expr, |
const char * | file, | ||
const int | line, | ||
const char * | message, | ||
const char * | function | ||
) |