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

#define AssertLogRelReturn ( expr,
rc   ) 

Value:

do { \
        if (RT_UNLIKELY(!(expr))) \
        { \
            RTAssertLogRelMsg1(#expr, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
            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.
rc What is to be presented to return.

Definition at line 1170 of file assert.h.

Referenced by cpumR3CpuIdInit(), guestProp::Service::DECLCALLBACK(), pgmR3LoadMmio2Ranges(), pgmR3LoadRomRanges(), REMR3DECL(), and VMMR0DECL().


Generated by  Doxygen 1.6.0   Back to index