- Merge from trunk up to r45543
[reactos.git] / include / host / wcsfuncs.h
1 /*
2 PROJECT: ReactOS
3 LICENSE: GPL v2 or any later version
4 FILE: include/host/wcsfuncs.h
5 PURPOSE: Header for the "host_wcsfuncs" static library
6 COPYRIGHT: Copyright 2008 Colin Finck <mail@colinfinck.de>
7 */
8
9 #ifndef _HOST_WCSFUNCS_H
10 #define _HOST_WCSFUNCS_H
11
12 #ifdef USE_HOST_WCSFUNCS
13 /* Function prototypes */
14 SIZE_T utf16_wcslen(PCWSTR str);
15 PWSTR utf16_wcschr(PWSTR str, WCHAR c);
16 INT utf16_wcsncmp(PCWSTR string1, PCWSTR string2, size_t count);
17 #else
18 /* Define the utf16_ functions to the CRT functions */
19 #define utf16_wcslen wcslen
20 #define utf16_wcschr wcschr
21 #define utf16_wcsncmp wcsncmp
22 #endif
23
24 #endif