Changeset 46011 in vbox
- Timestamp:
- May 13, 2013 11:28:28 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85674
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/uni.h
r44528 r46011 47 47 48 48 49 50 49 #ifndef RTUNI_USE_WCTYPE 50 51 51 /** 52 52 * A unicode flags range. … … 162 162 163 163 /** 164 * Checks if a unicode code point is case foldable. 165 * 166 * @returns true if it is. 167 * @returns false if it isn't. 168 * @param CodePoint The code point. 169 */ 170 DECLINLINE(bool) RTUniCpIsFoldable(RTUNICP CodePoint) 171 { 172 /* Right enough. */ 173 return (rtUniCpFlags(CodePoint) & (RTUNI_LOWER | RTUNI_UPPER)) != 0; 174 } 175 176 177 /** 164 178 * Checks if a unicode code point is alphabetic. 165 179 * … … 304 318 305 319 /** 320 * Checks if a unicode code point is case foldable. 321 * 322 * @returns true if it is. 323 * @returns false if it isn't. 324 * @param CodePoint The code point. 325 */ 326 DECLINLINE(bool) RTUniCpIsFoldable(RTUNICP CodePoint) 327 { 328 /* Right enough. */ 329 return iswupper(CodePoint) || iswlower(CodePoint); 330 } 331 332 333 /** 306 334 * Checks if a unicode code point is alphabetic. 307 335 *
Note:
See TracChangeset
for help on using the changeset viewer.