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

#define AssertMsgStmt ( expr,
stmt   ) 


do { \
        if (RT_UNLIKELY(!(expr))) \
        { \
            stmt; \
        } \
    } while (0)
Assert that an expression is true. If it's not print message and hit breakpoint and execute the statement.

expr Expression which should be true.
a printf argument list (in parenthesis).
stmt Statement to execute in case of a failed assertion.
The expression and statement will be evaluated in all build types.

Definition at line 698 of file assert.h.

Generated by  Doxygen 1.6.0   Back to index