Changeset 25011 in vbox for trunk/include/iprt
- Timestamp:
- Nov 26, 2009 3:03:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r25005 r25011 1052 1052 size_t *poffPattern); 1053 1053 1054 1055 /** @defgroup rt_str_conv String To/From Number Conversions 1056 * @ingroup grp_rt_str1057 * @{ */1058 1059 /** 1060 * Compares two version strings and returns the result. The version string has1061 * to be made of at least one number section, each section delimited by a ".",1062 * e.g. "123.45.67". Trailing zeros at the beginning and non-digits in a section1063 * will be skipped, so "12.foo006" becomes "12.6".1054 /** 1055 * Compares two version strings stricmp fashion. 1056 * 1057 * The version string is split up into sections at punctuation, spaces, 1058 * underscores, dashes and pluss signs. The sections are then split up into 1059 * numeric and string sub-sections. Finally, the sub-sections are compared 1060 * in a numeric or case insesntivie fashion depending on what they are. 1061 * 1062 * The following strings are considered to be equal: "1.0.0", "1.0", "1". 1063 * There aren't: "1.0.0r993", "1.0", "1.0r993", "1.0_Beta3" 1064 1064 * 1065 1065 * @returns integer value indicating the relationship between the versions: … … 1072 1072 */ 1073 1073 RTDECL(int) RTStrVersionCompare(const char *pszVer1, const char *pszVer2); 1074 1075 1076 /** @defgroup rt_str_conv String To/From Number Conversions 1077 * @ingroup grp_rt_str 1078 * @{ */ 1074 1079 1075 1080 /**
Note:
See TracChangeset
for help on using the changeset viewer.