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

#define AssertMsgReturnStmt ( expr,
a,
stmt,
rc   ) 

Value:

do { \
        if (RT_UNLIKELY(!(expr))) \
        { \
            stmt; \
            return (rc); \
        } \
    } 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.
rc What is to be presented to return.

Definition at line 758 of file assert.h.


Generated by  Doxygen 1.6.0   Back to index