Changeset 9962 for trunk/include/win/wine/unicode.h
- Timestamp:
- Mar 31, 2003, 1:53:30 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/unicode.h
r9367 r9962 10 10 #ifndef RC_INVOKED 11 11 12 #include <stdarg.h> 12 13 #if !defined(OS2_INCLUDED) && !defined(__WIN32TYPE_H__) 13 14 #include <windef.h> 14 15 #endif 15 16 #include <winnls.h> 17 16 18 17 19 #ifndef strncasecmp … … 65 67 #endif 66 68 67 extern const union cptable *cp_get_table( unsigned int codepage ); 68 extern const union cptable *cp_enum_table( unsigned int index ); 69 70 extern int cp_mbstowcs( const union cptable *table, int flags, 69 #ifdef __EMX__ 70 #define _K32CONV _optlink 71 #else 72 #define _K32CONV 73 #endif 74 75 extern _K32CONV const union cptable *cp_get_table( unsigned int codepage ); 76 extern _K32CONV const union cptable *cp_enum_table( unsigned int index ); 77 78 extern _K32CONV int cp_mbstowcs( const union cptable *table, int flags, 71 79 const char *src, int srclen, 72 80 WCHAR *dst, int dstlen ); 73 extern int cp_wcstombs( const union cptable *table, int flags,81 extern _K32CONV int cp_wcstombs( const union cptable *table, int flags, 74 82 const WCHAR *src, int srclen, 75 83 char *dst, int dstlen, const char *defchar, int *used ); 76 extern int utf8_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen ); 77 extern int utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen ); 78 79 extern int strcmpiW( const WCHAR *str1, const WCHAR *str2 ); 80 extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n ); 81 extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub ); 82 extern long int strtolW( const WCHAR *nptr, WCHAR **endptr, int base ); 83 extern unsigned long int strtoulW( const WCHAR *nptr, WCHAR **endptr, int base ); 84 extern _K32CONV int utf8_wcstombs( const WCHAR *src, int srclen, char *dst, int dstlen ); 85 extern _K32CONV int utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int dstlen ); 86 87 extern _K32CONV int strcmpiW( const WCHAR *str1, const WCHAR *str2 ); 88 extern _K32CONV int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n ); 89 extern _K32CONV WCHAR *strstrW( const WCHAR *str, const WCHAR *sub ); 90 extern _K32CONV long int strtolW( const WCHAR *nptr, WCHAR **endptr, int base ); 91 extern _K32CONV unsigned long int strtoulW( const WCHAR *nptr, WCHAR **endptr, int base ); 92 extern _K32CONV int snprintfW( WCHAR *str, unsigned int len, const WCHAR *format, ... ); 93 extern _K32CONV int vsnprintfW( WCHAR *str, unsigned int len, const WCHAR *format, va_list valist ); 84 94 85 95 static inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
Note:
See TracChangeset
for help on using the changeset viewer.