- Fix KiDispatchException to unmask KI_EXCEPTION_INTERNAL when setting the exception...
[reactos.git] / reactos / ntoskrnl / include / internal / ctype.h
1 #ifndef _CTYPE_H
2 #define _CTYPE_H
3
4 #define __need_wchar_t
5 #define __need_wint_t
6 #include <stddef.h>
7
8 /*
9 * The following flags are used to tell iswctype and _isctype what character
10 * types you are looking for.
11 */
12
13 #define _UPPER 0x0001
14 #define _LOWER 0x0002
15 #define _DIGIT 0x0004
16 #define _SPACE 0x0008 /* HT LF VT FF CR SP */
17 #define _PUNCT 0x0010
18 #define _CONTROL 0x0020
19 #define _BLANK 0x0040 /* this is SP only, not SP and HT as in C99 */
20 #define _HEX 0x0080
21 #define _LEADBYTE 0x8000
22
23 #define _ALPHA 0x0103
24
25 #ifndef _WCTYPE_T_DEFINED
26 typedef wchar_t wctype_t;
27 #define _WCTYPE_T_DEFINED
28 #endif
29
30
31 #if defined(_MSC_VER)
32 #define inline __inline
33 typedef wchar_t wint_t;
34 #endif
35
36 extern inline int isspace(int c);
37 extern inline int toupper(int c);
38 extern inline int tolower(int c);
39 extern inline int islower(int c);
40 extern inline int isdigit(int c);
41 extern inline int isxdigit(int c);
42
43 #endif