Commit in reactos/include/wine on MAIN
unicode.h+141.8 -> 1.9
add missing glue

reactos/include/wine
unicode.h 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- unicode.h	15 Apr 2004 09:28:04 -0000	1.8
+++ unicode.h	29 Nov 2004 00:06:22 -0000	1.9
@@ -88,4 +88,18 @@
     return NULL;
 }
 
+static inline WCHAR *memchrW( const WCHAR *ptr, WCHAR ch, size_t n )
+{
+    const WCHAR *end;
+    for (end = ptr + n; ptr < end; ptr++) if (*ptr == ch) return (WCHAR *)ptr;
+    return NULL;
+}
+
+static inline WCHAR *memrchrW( const WCHAR *ptr, WCHAR ch, size_t n )
+{
+    const WCHAR *end, *ret = NULL;
+    for (end = ptr + n; ptr < end; ptr++) if (*ptr == ch) ret = ptr;
+    return (WCHAR *)ret;
+}
+
 #endif
CVSspam 0.2.8