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

#define AssertMsgRCBreakStmt ( rc,
msg,
stmt   )     if (1) { AssertMsgBreakStmt(RT_SUCCESS_NP(rc), msg, stmt); NOREF(rc); } else do {} while (0)

Asserts a iprt status code successful and break if it's not.

If RT_STRICT is defined the message will be printed and a breakpoint hit before it returns

Parameters:
rc iprt status code.
msg printf argument list (in parenthesis).
stmt Statement to execute before break in case of a failed assertion.
Remarks:
rc is referenced multiple times. In release mode is NOREF()'ed.

Definition at line 1937 of file assert.h.


Generated by  Doxygen 1.6.0   Back to index