1// -*- C++ -*-
2//===--------------------------- wctype.h ---------------------------------===//
3//
4//                     The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_WCTYPE_H
12#define _LIBCPP_WCTYPE_H
13
14/*
15    wctype.h synopsis
16
17Macros:
18
19    WEOF
20
21Types:
22
23    wint_t
24    wctrans_t
25    wctype_t
26
27int iswalnum(wint_t wc);
28int iswalpha(wint_t wc);
29int iswblank(wint_t wc);  // C99
30int iswcntrl(wint_t wc);
31int iswdigit(wint_t wc);
32int iswgraph(wint_t wc);
33int iswlower(wint_t wc);
34int iswprint(wint_t wc);
35int iswpunct(wint_t wc);
36int iswspace(wint_t wc);
37int iswupper(wint_t wc);
38int iswxdigit(wint_t wc);
39int iswctype(wint_t wc, wctype_t desc);
40wctype_t wctype(const char* property);
41wint_t towlower(wint_t wc);
42wint_t towupper(wint_t wc);
43wint_t towctrans(wint_t wc, wctrans_t desc);
44wctrans_t wctrans(const char* property);
45
46*/
47
48#include <__config>
49
50#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
51#pragma GCC system_header
52#endif
53
54#include_next <wctype.h>
55
56#ifdef __cplusplus
57
58#undef iswalnum
59#undef iswalpha
60#undef iswblank
61#undef iswcntrl
62#undef iswdigit
63#undef iswgraph
64#undef iswlower
65#undef iswprint
66#undef iswpunct
67#undef iswspace
68#undef iswupper
69#undef iswxdigit
70#undef iswctype
71#undef wctype
72#undef towlower
73#undef towupper
74#undef towctrans
75#undef wctrans
76
77#endif  // __cplusplus
78
79#endif  // _LIBCPP_WCTYPE_H
80