Changeset 5459 for trunk/include/win/wine/unicode.h
- Timestamp:
- Apr 3, 2001, 8:28:08 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/unicode.h
r5456 r5459 64 64 extern int utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen ); 65 65 66 extern WCHAR WINAPI tolowerW( WCHAR ch ); 67 extern WCHAR WINAPI toupperW( WCHAR ch ); 68 66 69 static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch ) 67 70 { 68 71 return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]); 69 }70 71 static inline WCHAR tolowerW( WCHAR ch )72 {73 extern const WCHAR casemap_lower[];74 return ch + casemap_lower[casemap_lower[ch >> 8] + (ch & 0xff)];75 }76 77 static inline WCHAR toupperW( WCHAR ch )78 {79 extern const WCHAR casemap_upper[];80 return ch + casemap_upper[casemap_upper[ch >> 8] + (ch & 0xff)];81 72 } 82 73 … … 194 185 extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub ); 195 186 187 196 188 #endif /* __WINE_UNICODE_H */
Note:
See TracChangeset
for help on using the changeset viewer.