VirtualBox

Changeset 25548 in vbox


Ignore:
Timestamp:
Dec 21, 2009 5:15:58 PM (15 years ago)
Author:
vboxsync
Message:

iprt/assert.h: RTASSERT_QUIET for shutting up assertions in code that is involved in the message output.

File:
1 edited

Legend:

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

    r25536 r25548  
    403403 */
    404404
     405/** @def RTASSERT_QUIET
     406 * This can be defined to shut up the messages for a file where this would be
     407 * problematic because the message printing code path passes thru it.
     408 * @internal */
     409#ifdef RTASSERT_QUIET
     410# define RTAssertMsg1Weak(pszExpr, uLine, pszfile, pszFunction) \
     411                                do { } while (0)
     412# define RTAssertMsg2Weak       if (0) RTAssertMsg2Weak
     413#endif
     414
    405415/** @def RTAssertDoPanic
    406416 * Raises an assertion panic appropriate to the current context.
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