VirtualBox

Changeset 8585 in vbox for trunk/include/iprt


Ignore:
Timestamp:
May 5, 2008 2:02:25 PM (17 years ago)
Author:
vboxsync
Message:

AssertReleaseFailedBreakVoid -> AssertReleaseFailedBreak

File:
1 edited

Legend:

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

    r8584 r8585  
    12181218
    12191219
     1220/** @def AssertReleaseFailedBreak
     1221 * An assertion failed, hit a breakpoint and break.
     1222 */
     1223#define AssertReleaseFailedBreak()  \
     1224    if (1) { \
     1225        AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
     1226        AssertReleaseBreakpoint(); \
     1227        break; \
     1228    } else do {} while (0)
     1229
    12201230/** @def AssertReleaseFailedBreakStmt
    12211231 * An assertion failed, hit a breakpoint and break.
     
    12281238        AssertReleaseBreakpoint(); \
    12291239        stmt; \
    1230         break; \
    1231     } else do {} while (0)
    1232 
    1233 /** @def AssertReleaseFailedBreakVoid
    1234  * An assertion failed, hit a breakpoint and break.
    1235  * @todo Rename to AssertReleaseFailedBreak.
    1236  * @todo broken, should use 'if' instead of 'do'.
    1237  */
    1238 #define AssertReleaseFailedBreakVoid()  \
    1239     if (1) { \
    1240         AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
    1241         AssertReleaseBreakpoint(); \
    12421240        break; \
    12431241    } else do {} while (0)
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