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

#define AssertReleaseRCSuccessBreakStmt ( rc,
stmt   )     AssertReleaseMsgBreakStmt((rc) == VINF_SUCCESS, ("%Rra\n", (rc)), stmt)

Asserts that an iprt status code equals VINF_SUCCESS.

On failure information about the error will be printed, a breakpoint hit and finally the break statement will be issued if the breakpoint is somehow ignored.

rc iprt status code.
stmt Statement to execute before break in case of a failed assertion.
rc is referenced multiple times.

Definition at line 2288 of file assert.h.

Generated by  Doxygen 1.6.0   Back to index