VirtualBox

Changeset 8586 in vbox


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

AssertReleaseMsgFailedBreakVoid -> AssertReleaseMsgFailedBreak.

File:
1 edited

Legend:

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

    r8585 r8586  
    12821282
    12831283
     1284/** @def AssertReleaseMsgFailedBreak
     1285 * An assertion failed, print a message, hit a breakpoint and break.
     1286 *
     1287 * @param   a   printf argument list (in parenthesis).
     1288 */
     1289#define AssertReleaseMsgFailedBreak(a) \
     1290    if (1) { \
     1291        AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
     1292        AssertMsg2 a; \
     1293        AssertReleaseBreakpoint(); \
     1294        break; \
     1295    } else do {} while (0)
     1296
    12841297/** @def AssertReleaseMsgFailedBreakStmt
    12851298 * An assertion failed, print a message, hit a breakpoint and break.
     
    12971310    } else do {} while (0)
    12981311
    1299 /** @def AssertReleaseMsgFailedBreakVoid
    1300  * An assertion failed, print a message, hit a breakpoint and break.
    1301  *
    1302  * @param   a   printf argument list (in parenthesis).
    1303  * @todo Rename to AssertReleaseMsgFailedBreak.
    1304  * @todo broken
    1305  */
    1306 #define AssertReleaseMsgFailedBreakVoid(a) \
    1307     if (1) { \
    1308         AssertMsg1((const char *)0, __LINE__, __FILE__, __PRETTY_FUNCTION__); \
    1309         AssertMsg2 a; \
    1310         AssertReleaseBreakpoint(); \
    1311         break; \
    1312     } else do {} while (0)
    1313 
    13141312
    13151313/** @def AssertFatal
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