Changeset 9738 in vbox for trunk/include
- Timestamp:
- Jun 16, 2008 10:38:49 PM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/Guid.h
r9332 r9738 103 103 } 104 104 105 bool isEmpty() const { return ::RTUuidIsNull (&uuid) != 0; }105 bool isEmpty() const { return ::RTUuidIsNull (&uuid); } 106 106 operator bool() const { return !isEmpty(); } 107 107 … … 173 173 static bool isEmpty (const GUID &guid) 174 174 { 175 return ::RTUuidIsNull ((PRTUUID) &guid) != 0;175 return ::RTUuidIsNull ((PRTUUID) &guid); 176 176 } 177 177 -
trunk/include/iprt/uuid.h
r8245 r9738 63 63 * @param pUuid uuid to check. 64 64 */ 65 RTDECL( int) RTUuidIsNull(PCRTUUID pUuid);65 RTDECL(bool) RTUuidIsNull(PCRTUUID pUuid); 66 66 67 67 /** … … 75 75 76 76 /** 77 * Compares a UUID value with a UUID string. 78 * 79 * @returns 0 if eq, < 0 or > 0. 80 * @param pUuid1 First value to compare. 81 * @param pszString2 The 2nd UUID in string form. 82 */ 83 RTDECL(int) RTUuidCompareStr(PCRTUUID pUuid1, const char *pszString); 84 85 /** 77 86 * Converts binary UUID to its string representation. 78 87 * … … 82 91 * @param cchString pszString buffer length, must be >= RTUUID_STR_LENGTH. 83 92 */ 84 RTDECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, unsignedcchString);93 RTDECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, size_t cchString); 85 94 86 95 /**
Note:
See TracChangeset
for help on using the changeset viewer.