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

Defines

assert.h File Reference

#include <iprt/assert.h>
Include dependency graph for assert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define AssertComRC(rc)   do { AssertMsg (SUCCEEDED (rc), ("COM RC = %Rhrc (0x%08X)\n", rc, rc)); NOREF (rc); } while (0)
#define AssertComRCBreak(rc, eval)   if (!SUCCEEDED (rc)) { AssertComRC (rc); eval; break; } else do {} while (0)
#define AssertComRCBreakRC(rc)   if (!SUCCEEDED (rc)) { AssertComRC (rc); break; } else do {} while (0)
#define AssertComRCReturn(rc, ret)   AssertMsgReturn (SUCCEEDED (rc), ("COM RC = %Rhrc (0x%08X)\n", rc, rc), ret)
#define AssertComRCReturnRC(rc)   AssertMsgReturn (SUCCEEDED (rc), ("COM RC = %Rhrc (0x%08X)\n", rc, rc), rc)
#define AssertComRCReturnVoid(rc)   AssertMsgReturnVoid (SUCCEEDED (rc), ("COM RC = %Rhrc (0x%08X)\n", rc, rc))
#define AssertComRCThrow(rc, eval)   if (!SUCCEEDED (rc)) { AssertComRC (rc); throw (eval); } else do {} while (0)
#define AssertComRCThrowRC(rc)   if (!SUCCEEDED (rc)) { AssertComRC (rc); throw rc; } else do {} while (0)

Detailed Description

MS COM / XPCOM Abstraction Layer: Assertion macros for COM/XPCOM

Definition in file assert.h.


Generated by  Doxygen 1.6.0   Back to index