Changeset 8585 in vbox for trunk/include/iprt
- Timestamp:
- May 5, 2008 2:02:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r8584 r8585 1218 1218 1219 1219 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 1220 1230 /** @def AssertReleaseFailedBreakStmt 1221 1231 * An assertion failed, hit a breakpoint and break. … … 1228 1238 AssertReleaseBreakpoint(); \ 1229 1239 stmt; \ 1230 break; \1231 } else do {} while (0)1232 1233 /** @def AssertReleaseFailedBreakVoid1234 * 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(); \1242 1240 break; \ 1243 1241 } else do {} while (0)
Note:
See TracChangeset
for help on using the changeset viewer.