Changeset 8566 in vbox for trunk/include/iprt
- Timestamp:
- May 5, 2008 12:04:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r8565 r8566 519 519 520 520 521 /** @def AssertFailedBreak 521 /** @def AssertFailedBreakStmt 522 522 * An assertion failed, hit breakpoint (RT_STRICT mode only), execute 523 523 * the given statement and break. 524 524 * 525 525 * @param stmt Statement to execute before break. 526 * @todo Rename to AssertFailedBreakStmt. 527 */ 528 #ifdef RT_STRICT 529 # define AssertFailedBreak(stmt) \ 526 */ 527 #ifdef RT_STRICT 528 # define AssertFailedBreakStmt(stmt) \ 530 529 if (1) { \ 531 530 AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \ … … 535 534 } else do {} while (0) 536 535 #else 537 # define AssertFailedBreak (stmt) \536 # define AssertFailedBreakStmt(stmt) \ 538 537 if (1) { \ 539 538 stmt; \ … … 619 618 620 619 621 /** @def AssertMsgFailedBreak 620 /** @def AssertMsgFailedBreakStmt 622 621 * An assertion failed, hit breakpoint (RT_STRICT mode only), execute 623 622 * the given statement and break. … … 625 624 * @param a printf argument list (in parenthesis). 626 625 * @param stmt Statement to execute before break. 627 * @todo Rename to AssertMsgFailedBreakStmt. 628 */ 629 #ifdef RT_STRICT 630 # define AssertMsgFailedBreak(a, stmt) \ 626 */ 627 #ifdef RT_STRICT 628 # define AssertMsgFailedBreakStmt(a, stmt) \ 631 629 if (1) { \ 632 630 AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \ … … 637 635 } else do {} while (0) 638 636 #else 639 # define AssertMsgFailedBreak (a, stmt) \637 # define AssertMsgFailedBreakStmt(a, stmt) \ 640 638 if (1) { \ 641 639 stmt; \
Note:
See TracChangeset
for help on using the changeset viewer.