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

#define AssertLogRelBreak ( expr   ) 

Value:

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

Parameters:
expr Expression which should be true.

Definition at line 1202 of file assert.h.


Generated by  Doxygen 1.6.0   Back to index