Changeset 5647 in vbox for trunk/include/iprt
- Timestamp:
- Nov 9, 2007 2:01:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r4979 r5647 842 842 */ 843 843 #define AssertMsgRC(rc, msg) \ 844 do { AssertMsg(RT_SUCCESS (rc), msg); NOREF(rc); } while (0)844 do { AssertMsg(RT_SUCCESS_NP(rc), msg); NOREF(rc); } while (0) 845 845 846 846 /** @def AssertMsgRCReturn … … 855 855 */ 856 856 #define AssertMsgRCReturn(rc, msg, rcRet) \ 857 do { AssertMsgReturn(RT_SUCCESS (rc), msg, rcRet); NOREF(rc); } while (0)857 do { AssertMsgReturn(RT_SUCCESS_NP(rc), msg, rcRet); NOREF(rc); } while (0) 858 858 859 859 /** @def AssertMsgRCReturnVoid … … 867 867 */ 868 868 #define AssertMsgRCReturnVoid(rc, msg) \ 869 do { AssertMsgReturnVoid(RT_SUCCESS (rc), msg); NOREF(rc); } while (0)869 do { AssertMsgReturnVoid(RT_SUCCESS_NP(rc), msg); NOREF(rc); } while (0) 870 870 871 871 /** @def AssertMsgRCBreak … … 880 880 */ 881 881 #define AssertMsgRCBreak(rc, msg, stmt) \ 882 do { AssertMsgBreak(RT_SUCCESS (rc), msg, stmt); NOREF(rc); } while (0)882 do { AssertMsgBreak(RT_SUCCESS_NP(rc), msg, stmt); NOREF(rc); } while (0) 883 883 884 884 /** @def AssertRCSuccess … … 973 973 * @remark rc is references multiple times. 974 974 */ 975 #define AssertReleaseMsgRC(rc, msg) AssertReleaseMsg(RT_SUCCESS (rc), msg)975 #define AssertReleaseMsgRC(rc, msg) AssertReleaseMsg(RT_SUCCESS_NP(rc), msg) 976 976 977 977 /** @def AssertReleaseMsgRCReturn … … 986 986 * @remark rc is references multiple times. 987 987 */ 988 #define AssertReleaseMsgRCReturn(rc, msg, rcRet) AssertReleaseMsgReturn(RT_SUCCESS (rc), msg, rcRet)988 #define AssertReleaseMsgRCReturn(rc, msg, rcRet) AssertReleaseMsgReturn(RT_SUCCESS_NP(rc), msg, rcRet) 989 989 990 990 /** @def AssertReleaseMsgRCReturnVoid … … 998 998 * @remark rc is references multiple times. 999 999 */ 1000 #define AssertReleaseMsgRCReturnVoid(rc, msg) AssertReleaseMsgReturnVoid(RT_SUCCESS (rc), msg)1000 #define AssertReleaseMsgRCReturnVoid(rc, msg) AssertReleaseMsgReturnVoid(RT_SUCCESS_NP(rc), msg) 1001 1001 1002 1002 /** @def AssertReleaseMsgRCBreak … … 1011 1011 * @remark rc is references multiple times. 1012 1012 */ 1013 #define AssertReleaseMsgRCBreak(rc, msg, stmt) AssertReleaseMsgBreak(RT_SUCCESS (rc), msg, stmt)1013 #define AssertReleaseMsgRCBreak(rc, msg, stmt) AssertReleaseMsgBreak(RT_SUCCESS_NP(rc), msg, stmt) 1014 1014 1015 1015 /** @def AssertReleaseRCSuccess … … 1078 1078 * @remark rc is references multiple times. 1079 1079 */ 1080 #define AssertFatalMsgRC(rc, msg) AssertFatalMsg(RT_SUCCESS (rc), msg)1080 #define AssertFatalMsgRC(rc, msg) AssertFatalMsg(RT_SUCCESS_NP(rc), msg) 1081 1081 1082 1082 /** @def AssertFatalRCSuccess
Note:
See TracChangeset
for help on using the changeset viewer.