- Timestamp:
- May 5, 2008 2:09:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r8591 r8592 1696 1696 * @remark rc is references multiple times. 1697 1697 */ 1698 #define AssertReleaseRCBreak(rc) AssertReleaseMsgRCBreak Void(rc, ("%Vra\n", (rc)))1698 #define AssertReleaseRCBreak(rc) AssertReleaseMsgRCBreak(rc, ("%Vra\n", (rc))) 1699 1699 1700 1700 /** @def AssertReleaseRCBreakStmt … … 1746 1746 #define AssertReleaseMsgRCReturnVoid(rc, msg) AssertReleaseMsgReturnVoid(RT_SUCCESS_NP(rc), msg) 1747 1747 1748 /** @def AssertReleaseMsgRCBreak 1749 * Asserts a iprt status code successful. 1750 * 1751 * On failure a custom message is printed, a breakpoint is hit, and finally 1752 * breaking the current status if the breakpoint is showhow ignored. 1753 * 1754 * @param rc iprt status code. 1755 * @param msg printf argument list (in parenthesis). 1756 * @remark rc is references multiple times. 1757 */ 1758 #define AssertReleaseMsgRCBreak(rc, msg) AssertReleaseMsgBreak(RT_SUCCESS(rc), msg) 1759 1748 1760 /** @def AssertReleaseMsgRCBreakStmt 1749 1761 * Asserts a iprt status code successful. … … 1759 1771 #define AssertReleaseMsgRCBreakStmt(rc, msg, stmt) AssertReleaseMsgBreakStmt(RT_SUCCESS_NP(rc), msg, stmt) 1760 1772 1761 /** @def AssertReleaseMsgRCBreakVoid1762 * Asserts a iprt status code successful.1763 *1764 * On failure a custom message is printed, a breakpoint is hit, and finally1765 * breaking the current status if the breakpoint is showhow ignored.1766 *1767 * @param rc iprt status code.1768 * @param msg printf argument list (in parenthesis).1769 * @remark rc is references multiple times.1770 * @todo Rename to AssertReleaseMsgRCBreak.1771 */1772 #define AssertReleaseMsgRCBreakVoid(rc, msg) AssertReleaseMsgBreak(RT_SUCCESS(rc), msg)1773 1774 1773 /** @def AssertReleaseRCSuccess 1775 1774 * Asserts that an iprt status code equals VINF_SUCCESS.
Note:
See TracChangeset
for help on using the changeset viewer.