Changeset 8593 in vbox
- Timestamp:
- May 5, 2008 2:10:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r8592 r8593 1804 1804 #define AssertReleaseRCSuccessReturnVoid(rc) AssertReleaseMsgReturnVoid((rc) == VINF_SUCCESS, ("%Vra\n", (rc))) 1805 1805 1806 /** @def AssertReleaseRCSuccessBreak 1807 * Asserts that an iprt status code equals VINF_SUCCESS. 1808 * 1809 * On failure information about the error will be printed, a breakpoint hit 1810 * and finally breaking the current statement if the breakpoint is somehow ignored. 1811 * 1812 * @param rc iprt status code. 1813 * @remark rc is references multiple times. 1814 */ 1815 #define AssertReleaseRCSuccessBreak(rc) AssertReleaseMsgBreak((rc) == VINF_SUCCESS, ("%Vra\n", (rc))) 1816 1806 1817 /** @def AssertReleaseRCSuccessBreakStmt 1807 1818 * Asserts that an iprt status code equals VINF_SUCCESS. … … 1816 1827 #define AssertReleaseRCSuccessBreakStmt(rc, stmt) AssertReleaseMsgBreakStmt((rc) == VINF_SUCCESS, ("%Vra\n", (rc)), stmt) 1817 1828 1818 /** @def AssertReleaseRCSuccessBreakVoid1819 * Asserts that an iprt status code equals VINF_SUCCESS.1820 *1821 * On failure information about the error will be printed, a breakpoint hit1822 * and finally breaking the current statement if the breakpoint is somehow ignored.1823 *1824 * @param rc iprt status code.1825 * @remark rc is references multiple times.1826 * @todo Rename to AssertReleaseRCSuccessBreak.1827 */1828 #define AssertReleaseRCSuccessBreakVoid(rc) AssertReleaseMsgBreak((rc) == VINF_SUCCESS, ("%Vra\n", (rc)))1829 1830 1829 1831 1830 /** @def AssertFatalRC
Note:
See TracChangeset
for help on using the changeset viewer.