Added strpbrkW - I am going to need it for comdlg32 coming this week.
authorSteven Edwards <winehacker@gmail.com>
Sun, 4 Jan 2004 20:22:02 +0000 (20:22 +0000)
committerSteven Edwards <winehacker@gmail.com>
Sun, 4 Jan 2004 20:22:02 +0000 (20:22 +0000)
svn path=/trunk/; revision=7451

reactos/include/wine/unicode.h

index b3aea21..b65d94d 100644 (file)
@@ -81,4 +81,10 @@ static inline unsigned short get_char_typeW( wchar_t ch )
     return wine_wctype_table[wine_wctype_table[ch >> 8] + (ch & 0xff)];
 }
 
+static inline WCHAR *strpbrkW( const WCHAR *str, const WCHAR *accept )
+{
+    for ( ; *str; str++) if (strchrW( accept, *str )) return (WCHAR *)str;
+    return NULL;
+}
+
 #endif