Changeset 2511 for branches/libc-0.6/src/emx/include
- Timestamp:
- Jan 19, 2006, 3:44:53 AM (20 years ago)
- Location:
- branches/libc-0.6/src/emx/include
- Files:
-
- 2 edited
-
InnoTekLIBC/locale.h (modified) (1 diff)
-
_ctype.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/InnoTekLIBC/locale.h
r2163 r2511 316 316 /** @} */ 317 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 318 358 __END_DECLS 319 359 -
branches/libc-0.6/src/emx/include/_ctype.h
r2058 r2511 166 166 static __inline__ unsigned __ctype(__ct_rune_t __ch, unsigned __f) 167 167 { 168 return !(__ch & ~0xffU)169 ? __libc_GLocaleCtype.aufType[__ch ] & __f168 return 169 ? __libc_GLocaleCtype.aufType[__ch] & __f 170 170 : 0; 171 171 } … … 178 178 static __inline__ int __isctype(__ct_rune_t __ch, unsigned __f) 179 179 { 180 return !(__ch & ~0xffU)181 ? !!(__libc_GLocaleCtypeDefault.aufType[__ch ] & __f)180 return 181 ? !!(__libc_GLocaleCtypeDefault.aufType[__ch] & __f) 182 182 : 0; 183 183 } … … 185 185 static __inline__ __ct_rune_t __toupper(__ct_rune_t __ch) 186 186 { 187 return !(__ch & ~0xffU)188 ? __libc_GLocaleCtype.auchUpper[__ch ]187 return 188 ? __libc_GLocaleCtype.auchUpper[__ch] 189 189 : (__ch); 190 190 } … … 192 192 static __inline__ __ct_rune_t __tolower(__ct_rune_t __ch) 193 193 { 194 return !(__ch & ~0xffU)195 ? __libc_GLocaleCtype.auchLower[__ch ]194 return 195 ? __libc_GLocaleCtype.auchLower[__ch] 196 196 : __ch; 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.
