VirtualBox

Changeset 8566 in vbox for trunk/include/iprt


Ignore:
Timestamp:
May 5, 2008 12:04:23 PM (17 years ago)
Author:
vboxsync
Message:

AssertMsgFailedBreak -> AssertMsgFailedBreakStmt; AssertFailedBreak -> AssertFailedBreak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/assert.h

    r8565 r8566  
    519519
    520520
    521 /** @def AssertFailedBreak
     521/** @def AssertFailedBreakStmt
    522522 * An assertion failed, hit breakpoint (RT_STRICT mode only), execute
    523523 * the given statement and break.
    524524 *
    525525 * @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) \
    530529    if (1) { \
    531530        AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
     
    535534    } else do {} while (0)
    536535#else
    537 # define AssertFailedBreak(stmt) \
     536# define AssertFailedBreakStmt(stmt) \
    538537    if (1) { \
    539538        stmt; \
     
    619618
    620619
    621 /** @def AssertMsgFailedBreak
     620/** @def AssertMsgFailedBreakStmt
    622621 * An assertion failed, hit breakpoint (RT_STRICT mode only), execute
    623622 * the given statement and break.
     
    625624 * @param   a       printf argument list (in parenthesis).
    626625 * @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) \
    631629    if (1) { \
    632630        AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
     
    637635    } else do {} while (0)
    638636#else
    639 # define AssertMsgFailedBreak(a, stmt) \
     637# define AssertMsgFailedBreakStmt(a, stmt) \
    640638    if (1) { \
    641639        stmt; \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette