source: trunk/include/win/msvcrt/wchar.h@ 10367

Last change on this file since 10367 was 8207, checked in by sandervl, 23 years ago

added

File size: 1.2 KB
Line 
1/*
2 * Unicode definitions
3 *
4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
7 */
8#ifndef __WINE_WCHAR_H
9#define __WINE_WCHAR_H
10#define __WINE_USE_MSVCRT
11
12#include "msvcrt/io.h"
13#include "msvcrt/locale.h"
14#include "msvcrt/process.h"
15#include "msvcrt/stdio.h"
16#include "msvcrt/stdlib.h"
17#include "msvcrt/string.h"
18#include "msvcrt/sys/stat.h"
19#include "msvcrt/sys/types.h"
20#include "msvcrt/time.h"
21#include "msvcrt/wctype.h"
22
23
24#define WCHAR_MIN 0
25#define WCHAR_MAX ((WCHAR)-1)
26
27typedef int MSVCRT(mbstate_t);
28
29#ifndef MSVCRT_SIZE_T_DEFINED
30typedef unsigned int MSVCRT(size_t);
31#define MSVCRT_SIZE_T_DEFINED
32#endif
33
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39WCHAR btowc(int);
40MSVCRT(size_t) mbrlen(const char *,MSVCRT(size_t),MSVCRT(mbstate_t)*);
41MSVCRT(size_t) mbrtowc(WCHAR*,const char*,MSVCRT(size_t),MSVCRT(mbstate_t)*);
42MSVCRT(size_t) mbsrtowcs(WCHAR*,const char**,MSVCRT(size_t),MSVCRT(mbstate_t)*);
43MSVCRT(size_t) wcrtomb(char*,WCHAR,MSVCRT(mbstate_t)*);
44MSVCRT(size_t) wcsrtombs(char*,const WCHAR**,MSVCRT(size_t),MSVCRT(mbstate_t)*);
45int wctob(MSVCRT(wint_t));
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* __WINE_WCHAR_H */
Note: See TracBrowser for help on using the repository browser.