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

#define AssertBreakStmt ( expr,
stmt   ) 


if (RT_UNLIKELY(!(expr))) { \
        stmt; \
        break; \
    } else do {} while (0)
Assert that an expression is true and breaks if it isn't. In RT_STRICT mode it will hit a breakpoint before doing break.

expr Expression which should be true.
stmt Statement to execute before break in case of a failed assertion.

Definition at line 649 of file assert.h.

Referenced by getDriveInfoFromSysfs(), testEnumPropsHost(), testGetProp(), and VirtualBoxConstructor().

Generated by  Doxygen 1.6.0   Back to index