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

#define AssertMsgRCBreak ( rc,
msg   )     if (1) { AssertMsgBreak(RT_SUCCESS(rc), msg); NOREF(rc); } else do {} while (0)

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

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

Parameters:
rc iprt status code.
msg printf argument list (in parenthesis).
Remarks:
rc is referenced multiple times. In release mode is NOREF()'ed.

Definition at line 1924 of file assert.h.

Referenced by DECLCALLBACK().


Generated by  Doxygen 1.6.0   Back to index