wineps: Remove the installed options list as it's never populated.
[wine.git] / include / msvcrt / wctype.h
blobd6bed604fe0b761f987044186079858d6d73482a
1 /*
2 * Unicode definitions
4 * Copyright 2000 Francois Gouget.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_WCTYPE_H
21 #define __WINE_WCTYPE_H
23 #include <crtdefs.h>
25 #include <pshpack8.h>
27 /* ASCII char classification table - binary compatible */
28 #define _UPPER 0x0001 /* C1_UPPER */
29 #define _LOWER 0x0002 /* C1_LOWER */
30 #define _DIGIT 0x0004 /* C1_DIGIT */
31 #define _SPACE 0x0008 /* C1_SPACE */
32 #define _PUNCT 0x0010 /* C1_PUNCT */
33 #define _CONTROL 0x0020 /* C1_CNTRL */
34 #define _BLANK 0x0040 /* C1_BLANK */
35 #define _HEX 0x0080 /* C1_XDIGIT */
36 #define _LEADBYTE 0x8000
37 #define _ALPHA (0x0100|_UPPER|_LOWER) /* (C1_ALPHA|_UPPER|_LOWER) */
39 #ifndef WEOF
40 #define WEOF (wint_t)(0xFFFF)
41 #endif
43 /* FIXME: there's something to do with __p__pctype and __p__pwctype */
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
50 #ifndef _WCTYPE_DEFINED
51 #define _WCTYPE_DEFINED
52 int __cdecl is_wctype(wint_t,wctype_t);
53 int __cdecl isleadbyte(int);
54 int __cdecl iswalnum(wint_t);
55 int __cdecl iswalpha(wint_t);
56 int __cdecl iswascii(wint_t);
57 int __cdecl iswcntrl(wint_t);
58 int __cdecl iswctype(wint_t,wctype_t);
59 int __cdecl iswdigit(wint_t);
60 int __cdecl iswgraph(wint_t);
61 int __cdecl iswlower(wint_t);
62 int __cdecl iswprint(wint_t);
63 int __cdecl iswpunct(wint_t);
64 int __cdecl iswspace(wint_t);
65 int __cdecl iswupper(wint_t);
66 int __cdecl iswxdigit(wint_t);
67 wchar_t __cdecl towlower(wchar_t);
68 wchar_t __cdecl towupper(wchar_t);
69 #endif /* _WCTYPE_DEFINED */
71 #ifdef __cplusplus
73 #endif
75 #include <poppack.h>
77 #endif /* __WINE_WCTYPE_H */