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>
9 #ifndef _HOST_WCSFUNCS_H
10 #define _HOST_WCSFUNCS_H
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
);
18 /* Define the utf16_ functions to the CRT functions */
19 #define utf16_wcslen wcslen
20 #define utf16_wcschr wcschr
21 #define utf16_wcsncmp wcsncmp