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

#define AssertLogRelMsgReturn ( expr,
a,
rc   ) 

Value:

do { \
        if (RT_UNLIKELY(!(expr))) \
        { \
            RTAssertLogRelMsg1(#expr, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
            RTAssertLogRelMsg2(a); \
            RTAssertPanic(); \
            return (rc); \
        } \
    } while (0)
Assert that an expression is true, return rc if it isn't. Strict builds will hit a breakpoint, non-strict will only do LogRel.

Parameters:
expr Expression which should be true.
a printf argument list (in parenthesis).
rc What is to be presented to return.

Definition at line 1252 of file assert.h.

Referenced by DECLCALLBACK(), pgmR3LoadMmio2Ranges(), pgmR3LoadRomRanges(), pgmR3PoolInit(), remR3InitPhysRamSizeAndDirtyMap(), and vboxClipboardUtf16GetWinSize().


Generated by  Doxygen 1.6.0   Back to index