#include "oscl_base.h"
#include "oscl_assert.inl"
Go to the source code of this file.
Defines | |
#define | OSCL_ASSERT(_expr) ((_expr)?((void)0):OSCL_Assert(# _expr,__FILE__,__LINE__)) |
Functions | |
OSCL_COND_IMPORT_REF void | _OSCL_Abort () |
This function terminates the current process abnormally. | |
OSCL_IMPORT_REF void | OSCL_Assert (const char *expr, const char *filename, int line_number) |
OSCL_ASSERT macro evaluates an expression and when the result is false, prints a diagnostic message and aborts the program. |