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

#define AssertMsgReturnVoidStmt ( expr,
a,
stmt   ) 

Value:

do { \
        if (RT_UNLIKELY(!(expr))) \
        { \
            stmt; \
            return; \
        } \
    } while (0)
Assert that an expression is true, if it isn't execute the statement and return.

In RT_STRICT mode it will hit a breakpoint before returning.

Parameters:
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 817 of file assert.h.


Generated by  Doxygen 1.6.0   Back to index