source: trunk/include/win/wine/unicode.h@ 4079

Last change on this file since 4079 was 4079, checked in by sandervl, 25 years ago

header update

File size: 647 bytes
Line 
1/* $Id: unicode.h,v 1.1 2000-08-24 09:29:45 sandervl Exp $ */
2/*
3 * Wine internal Unicode definitions
4 *
5 * Copyright 2000 Alexandre Julliard
6 */
7
8#ifndef __WINE_UNICODE_H
9#define __WINE_UNICODE_H
10
11#include "windef.h"
12#include <heapstring.h>
13
14static WCHAR *strchrW( const WCHAR *str, WCHAR ch )
15{
16 for ( ; *str; str++) if (*str == ch) return (WCHAR *)str;
17 return NULL;
18}
19
20static WCHAR *strrchrW( const WCHAR *str, WCHAR ch )
21{
22 WCHAR *ret = NULL;
23 for ( ; *str; str++) if (*str == ch) ret = (WCHAR *)str;
24 return ret;
25}
26
27
28extern WCHAR *strstrW( const WCHAR *str, const WCHAR *sub );
29
30#endif /* __WINE_UNICODE_H */
Note: See TracBrowser for help on using the repository browser.