VirtualBox

Changeset 8596 in vbox for trunk


Ignore:
Timestamp:
May 5, 2008 2:12:53 PM (17 years ago)
Author:
vboxsync
Message:

AssertPtrNullBreakVoid -> AssertPtrNullBreak.

File:
1 edited

Legend:

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

    r8595 r8596  
    19191919#define AssertPtrNullReturnVoid(pv)     AssertMsgReturnVoid(VALID_PTR(pv) || (pv) == NULL, ("%p\n", (pv)))
    19201920
     1921/** @def AssertPtrNullBreak
     1922 * Asserts that a pointer is valid or NULL.
     1923 *
     1924 * @param   pv      The pointer.
     1925 */
     1926#define AssertPtrNullBreak(pv)          AssertMsgBreak(VALID_PTR(pv) || (pv) == NULL, ("%p\n", (pv)))
     1927
    19211928/** @def AssertPtrNullBreakStmt
    19221929 * Asserts that a pointer is valid or NULL.
     
    19251932 * @param   stmt    Statement to execute before break in case of a failed assertion.
    19261933 */
    1927 #define AssertPtrNullBreakStmt(pv, stmt)    AssertMsgBreakStmt(VALID_PTR(pv) || (pv) == NULL, ("%p\n", (pv)), stmt)
    1928 
    1929 /** @def AssertPtrNullBreakVoid
    1930  * Asserts that a pointer is valid or NULL.
    1931  *
    1932  * @param   pv      The pointer.
    1933  * @todo Rename to AssertPtrNullBreak.
    1934  */
    1935 #define AssertPtrNullBreakVoid(pv)  AssertMsgBreak(VALID_PTR(pv) || (pv) == NULL, ("%p\n", (pv)))
     1934#define AssertPtrNullBreakStmt(pv, stmt) AssertMsgBreakStmt(VALID_PTR(pv) || (pv) == NULL, ("%p\n", (pv)), stmt)
    19361935
    19371936/** @def AssertGCPhys32
     
    19401939 * @param   GCPhys      The address (RTGCPHYS).
    19411940 */
    1942 #define AssertGCPhys32(GCPhys)      AssertMsg(VALID_PHYS32(GCPhys), ("%RGp\n", (RTGCPHYS)(GCPhys)))
     1941#define AssertGCPhys32(GCPhys)          AssertMsg(VALID_PHYS32(GCPhys), ("%RGp\n", (RTGCPHYS)(GCPhys)))
    19431942
    19441943
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