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

#define AssertReturnVoidStmt ( expr,
stmt   ) 

Value:

do { \
        if (RT_UNLIKELY(!(expr))) \
        { \
            stmt; \
            return; \
        } \
    } while (0)
Assert that an expression is true, if it isn't execute the given statement and return.

In RT_STRICT mode it will hit a breakpoint before returning.

Parameters:
expr Expression which should be true.
stmt Statement to execute before returning on failure.

Definition at line 601 of file assert.h.


Generated by  Doxygen 1.6.0   Back to index