Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

#define AssertReleaseMsgBreakStmt ( expr,
stmt   ) 


if (RT_UNLIKELY(!(expr))) { \
        RTAssertMsg1Weak(#expr, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
        RTAssertMsg2Weak a; \
        RTAssertReleasePanic(); \
        stmt; \
        break; \
    } else do {} while (0)
Assert that an expression is true, print the message and hit a breakpoint and break if it isn't.

expr Expression which should be true.
a printf argument list (in parenthesis).
stmt Statement to execute before break in case of a failed assertion.

Definition at line 1622 of file assert.h.

Generated by  Doxygen 1.6.0   Back to index