Changeset 14500 in vbox for trunk/include/iprt/assert.h
- Timestamp:
- Nov 24, 2008 2:22:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r13931 r14500 33 33 #include <iprt/cdefs.h> 34 34 #include <iprt/types.h> 35 #include <iprt/stdarg.h> 35 36 36 37 /** @defgroup grp_rt_assert Assert - Assertions … … 86 87 * @param pszFile Location file name. 87 88 * @param pszFunction Location function name. 88 * @remark This API exists in HC Ring-3 and GC. 89 */ 90 RTDECL(void) RTAssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction); 91 /** 92 * Weak version of RTAssertMsg1 93 * 94 * @copydoc RTAssertMsg1 95 * @todo rename to AssertMsg1Weak 89 96 */ 90 97 RTDECL(void) AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction); … … 92 99 /** 93 100 * The 2nd (optional) part of an assert message. 101 * 102 * @param pszFormat Printf like format string. 103 * @param va Arguments to that string. 104 */ 105 RTDECL(void) RTAssertMsg2V(const char *pszFormat, va_list va); 106 107 /** 108 * The 2nd (optional) part of an assert message. 109 * 94 110 * @param pszFormat Printf like format string. 95 111 * @param ... Arguments to that string. 96 * @remark This API exists in HC Ring-3 and GC. 112 */ 113 RTDECL(void) RTAssertMsg2(const char *pszFormat, ...); 114 /** Weak version of RTAssertMsg2 115 * @copydoc RTAssertMsg2 116 * @todo rename to AssertMsg2Weak 97 117 */ 98 118 RTDECL(void) AssertMsg2(const char *pszFormat, ...); … … 294 314 * @remarks This macro does not depend on RT_STRICT. 295 315 */ 296 #if (defined(IN_RING0) && !defined(IN_RING0_AGNOSTIC)) \316 #if defined(IN_RING0) \ 297 317 && (defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS)) 298 318 # define RTAssertDoPanic() RTR0AssertPanicSystem()
Note:
See TracChangeset
for help on using the changeset viewer.