winelib unicode.h: Add missing function declarations

Andrew Talbot Andrew.Talbot at talbotville.com
Thu May 25 16:16:59 CDT 2006


Changelog:
   winelib unicode.h: Add missing function declarations.


diff -urN a/include/wine/unicode.h b/include/wine/unicode.h
--- a/include/wine/unicode.h	2006-05-25 18:15:23.000000000 +0100
+++ b/include/wine/unicode.h	2006-05-25 21:49:46.000000000 +0100
@@ -95,6 +95,39 @@
 extern int vsprintfW( WCHAR *str, const WCHAR *format, va_list valist );
 extern int vsnprintfW( WCHAR *str, size_t len, const WCHAR *format, va_list 
valist );
 
+extern inline int wine_is_dbcs_leadbyte( const union cptable *table, unsigned 
char ch );
+extern inline WCHAR tolowerW( WCHAR ch );
+extern inline WCHAR toupperW( WCHAR ch );
+extern inline unsigned short get_char_typeW( WCHAR ch );
+extern inline int iscntrlW( WCHAR wc );
+extern inline int ispunctW( WCHAR wc );
+extern inline int isspaceW( WCHAR wc );
+extern inline int isdigitW( WCHAR wc );
+extern inline int isxdigitW( WCHAR wc );
+extern inline int islowerW( WCHAR wc );
+extern inline int isupperW( WCHAR wc );
+extern inline int isalnumW( WCHAR wc );
+extern inline int isalphaW( WCHAR wc );
+extern inline int isgraphW( WCHAR wc );
+extern inline int isprintW( WCHAR wc );
+
+extern inline unsigned int strlenW( const WCHAR *str );
+extern inline WCHAR *strcpyW( WCHAR *dst, const WCHAR *src );
+extern inline int strcmpW( const WCHAR *str1, const WCHAR *str2 );
+extern inline int strncmpW( const WCHAR *str1, const WCHAR *str2, int n );
+extern inline WCHAR *strcatW( WCHAR *dst, const WCHAR *src );
+extern inline WCHAR *strchrW( const WCHAR *str, WCHAR ch );
+extern inline WCHAR *strrchrW( const WCHAR *str, WCHAR ch );
+extern inline WCHAR *strpbrkW( const WCHAR *str, const WCHAR *accept );
+extern inline size_t strspnW( const WCHAR *str, const WCHAR *accept );
+extern inline size_t strcspnW( const WCHAR *str, const WCHAR *reject );
+extern inline WCHAR *strlwrW( WCHAR *str );
+extern inline WCHAR *struprW( WCHAR *str );
+extern inline WCHAR *memchrW( const WCHAR *ptr, WCHAR ch, size_t n );
+extern inline WCHAR *memrchrW( const WCHAR *ptr, WCHAR ch, size_t n );
+extern inline long int atolW( const WCHAR *str );
+extern inline int atoiW( const WCHAR *str );
+
 extern inline int wine_is_dbcs_leadbyte( const union cptable *table, unsigned 
char ch )
 {
     return (table->info.char_size == 2) && 
(table->dbcs.cp2uni_leadbytes[ch]);



More information about the wine-patches mailing list