VirtualBox

Changeset 9743 in vbox for trunk/include


Ignore:
Timestamp:
Jun 16, 2008 10:53:02 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32099
Message:

Made RTUuidCompare grok NULL pointers and behave the same way in both the generic and Windows implementation.

File:
1 edited

Legend:

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

    r9738 r9743  
    6969 *
    7070 * @returns 0 if eq, < 0 or > 0.
    71  * @param   pUuid1          First value to compare.
    72  * @param   pUuid2          Second value to compare.
     71 * @param   pUuid1          First value to compare. NULL is treated like if RTUuidIsNull() return true.
     72 * @param   pUuid2          Second value to compare. NULL is treated like if RTUuidIsNull() return true.
    7373 */
    7474RTDECL(int)  RTUuidCompare(PCRTUUID pUuid1, PCRTUUID pUuid2);
     
    7878 *
    7979 * @returns 0 if eq, < 0 or > 0.
    80  * @param   pUuid1          First value to compare.
    81  * @param   pszString2      The 2nd UUID in string form.
     80 * @param   pUuid1          First value to compare. NULL is not allowed.
     81 * @param   pszString2      The 2nd UUID in string form. NULL of malformed string is not permitted.
    8282 */
    8383RTDECL(int)  RTUuidCompareStr(PCRTUUID pUuid1, const char *pszString);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette