VirtualBox

Changeset 8593

Show
Ignore:
Timestamp:
05/05/08 16:10:08 (8 months ago)
Author:
vboxsync
Message:

AssertReleaseRCSuccessBreakVoid -> AssertReleaseRCSuccessBreak

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/iprt/assert.h

    r8592 r8593  
    18041804#define AssertReleaseRCSuccessReturnVoid(rc)     AssertReleaseMsgReturnVoid((rc) == VINF_SUCCESS, ("%Vra\n", (rc))) 
    18051805 
     1806/** @def AssertReleaseRCSuccessBreak 
     1807 * Asserts that an iprt status code equals VINF_SUCCESS. 
     1808 * 
     1809 * On failure information about the error will be printed, a breakpoint hit 
     1810 * and finally breaking the current statement if the breakpoint is somehow ignored. 
     1811 * 
     1812 * @param   rc      iprt status code. 
     1813 * @remark  rc is references multiple times. 
     1814 */ 
     1815#define AssertReleaseRCSuccessBreak(rc)         AssertReleaseMsgBreak((rc) == VINF_SUCCESS, ("%Vra\n", (rc))) 
     1816 
    18061817/** @def AssertReleaseRCSuccessBreakStmt 
    18071818 * Asserts that an iprt status code equals VINF_SUCCESS. 
     
    18161827#define AssertReleaseRCSuccessBreakStmt(rc, stmt)   AssertReleaseMsgBreakStmt((rc) == VINF_SUCCESS, ("%Vra\n", (rc)), stmt) 
    18171828 
    1818 /** @def AssertReleaseRCSuccessBreakVoid 
    1819  * Asserts that an iprt status code equals VINF_SUCCESS. 
    1820  * 
    1821  * On failure information about the error will be printed, a breakpoint hit 
    1822  * and finally breaking the current statement if the breakpoint is somehow ignored. 
    1823  * 
    1824  * @param   rc      iprt status code. 
    1825  * @remark  rc is references multiple times. 
    1826  * @todo Rename to AssertReleaseRCSuccessBreak. 
    1827  */ 
    1828 #define AssertReleaseRCSuccessBreakVoid(rc)     AssertReleaseMsgBreak((rc) == VINF_SUCCESS, ("%Vra\n", (rc))) 
    1829  
    18301829 
    18311830/** @def AssertFatalRC 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy