Changeset 6103 for trunk/include/win/wine/unicode.h
- Timestamp:
- Jun 26, 2001, 1:15:36 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/unicode.h
r5604 r6103 12 12 #if !defined(OS2_INCLUDED) && !defined(__WIN32TYPE_H__) 13 13 #include <windef.h> 14 #endif15 16 #ifndef __cplusplus17 #undef inline18 #define inline19 14 #endif 20 15 … … 53 48 struct dbcs_table dbcs; 54 49 }; 50 51 #ifdef __cplusplus 52 extern "C" { 53 #endif 54 55 #if defined(__IBMC__) || defined(__IBMCPP__) 56 #define static 57 #endif 55 58 56 59 extern const union cptable *cp_get_table( unsigned int codepage ); … … 94 97 } 95 98 96 static inline WCHAR *strcpyW( WCHAR *dst, const WCHAR *src ) 99 static inline WCHAR *strcpyW( WCHAR *dst, const WCHAR *src ) 97 100 { 98 101 #if defined(__i386__) && defined(__GNUC__) … … 116 119 } 117 120 118 static inline int strcmpW( const WCHAR *str1, const WCHAR *str2 ) 121 static inline int strcmpW( const WCHAR *str1, const WCHAR *str2 ) 119 122 { 120 123 while (*str1 && (*str1 == *str2)) { str1++; str2++; } … … 148 151 return NULL; 149 152 } 150 153 151 154 static inline WCHAR *strrchrW( const WCHAR *str, WCHAR ch ) 152 155 { … … 154 157 for ( ; *str; str++) if (*str == ch) ret = (WCHAR *)str; 155 158 return ret; 156 } 159 } 157 160 158 161 static inline WCHAR *strlwrW( WCHAR *str ) … … 162 165 *str = tolowerW(*str); 163 166 str++; 164 } 167 } 165 168 return ret; 166 169 } … … 172 175 *str = toupperW(*str); 173 176 str++; 174 } 177 } 175 178 return ret; 176 179 } … … 181 184 extern unsigned short get_char_typeW( WCHAR ch ); 182 185 186 187 #if defined(__IBMC__) || defined(__IBMCPP__) 188 #undef static 189 #endif 190 191 #ifdef __cplusplus 192 } 193 #endif 194 183 195 #endif //RC_INVOKED 184 196
Note:
See TracChangeset
for help on using the changeset viewer.