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

#define AssertLogRel ( expr   ) 

Value:

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

Parameters:
expr Expression which should be true.

Definition at line 1154 of file assert.h.

Referenced by Console::getGuestProperty().


Generated by  Doxygen 1.6.0   Back to index