Changeset 7819 for trunk/include/win/wine/unicode.h
- Timestamp:
- Feb 6, 2002, 9:14:34 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/unicode.h
r6914 r7819 12 12 #if !defined(OS2_INCLUDED) && !defined(__WIN32TYPE_H__) 13 13 #include <windef.h> 14 #endif 15 #include <winnls.h> 16 17 #ifndef strncasecmp 18 #define strncasecmp lstrncmpiA 14 19 #endif 15 20 … … 72 77 extern WCHAR WINAPI toupperW( WCHAR ch ); 73 78 74 static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch ) 75 { 76 return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]); 77 } 79 extern unsigned short get_char_typeW( WCHAR ch ); 80 81 inline static int isdigitW( WCHAR wc ) 82 { 83 return get_char_typeW(wc) & C1_DIGIT; 84 } 85 86 inline static int isxdigitW( WCHAR wc ) 87 { 88 return get_char_typeW(wc) & C1_XDIGIT; 89 } 90 91 #define islowerW(a) IsCharLowerW(a) 92 #define isupperW(a) IsCharUpperW(a) 93 #define isalnumW(a) IsCharAlphaNumericW(a) 94 #define isalphaW(a) IsCharAlphaW(a) 95 78 96 79 97 /* some useful string manipulation routines */ … … 186 204 extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n ); 187 205 extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub ); 188 extern unsigned short get_char_typeW( WCHAR ch );189 206 190 207
Note:
See TracChangeset
for help on using the changeset viewer.