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

#define AssertReturnStmt ( expr,
stmt,
rc   ) 

Value:

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

In RT_STRICT mode it will hit a breakpoint before executing the statement and returning.

Parameters:
expr Expression which should be true.
stmt Statement to execute before returning on failure.
rc What is to be presented to return.

Definition at line 546 of file assert.h.

Referenced by rtLinuxConstructPathV().


Generated by  Doxygen 1.6.0   Back to index