Changeset 70425 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Jan 2, 2018 2:35:34 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120030
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/RTUtf16NCmpAscii.cpp
r70424 r70425 35 35 36 36 37 RTDECL(int) RTUtf16 CmpAscii(PCRTUTF16 pwsz1, const char *psz2)37 RTDECL(int) RTUtf16NCmpAscii(PCRTUTF16 pwsz1, const char *psz2, size_t cwcMax) 38 38 { 39 for (;;)39 while (cwcMax-- > 0) 40 40 { 41 41 RTUTF16 wc1 = *pwsz1++; … … 44 44 return wc1 < uch2 ? -1 : 1; 45 45 if (!uch2) 46 return 0;46 break; 47 47 } 48 return 0; 48 49 } 49 RT_EXPORT_SYMBOL(RTUtf16 ICmpAscii);50 RT_EXPORT_SYMBOL(RTUtf16NCmpAscii); 50 51
Note:
See TracChangeset
for help on using the changeset viewer.