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

#define AssertMsgRC ( rc,
msg   )     do { AssertMsg(RT_SUCCESS_NP(rc), msg); NOREF(rc); } while (0)

Asserts a iprt status code successful.

It prints a custom message and hits a breakpoint on FAILURE.

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

Definition at line 1887 of file assert.h.

Referenced by buslogicRegisterWrite(), mmR3PagePoolTerm(), rtThreadMain(), rtThreadNativeSetPriority(), and VMMR0DECL().

Generated by  Doxygen 1.6.0   Back to index