• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// -*- C++ -*-
2//===--------------------------- cwctype ----------------------------------===//
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_CWCTYPE
12#define _LIBCPP_CWCTYPE
13
14/*
15    cwctype synopsis
16
17Macros:
18
19    WEOF
20
21namespace std
22{
23
24Types:
25
26    wint_t
27    wctrans_t
28    wctype_t
29
30int iswalnum(wint_t wc);
31int iswalpha(wint_t wc);
32int iswblank(wint_t wc);  // C99
33int iswcntrl(wint_t wc);
34int iswdigit(wint_t wc);
35int iswgraph(wint_t wc);
36int iswlower(wint_t wc);
37int iswprint(wint_t wc);
38int iswpunct(wint_t wc);
39int iswspace(wint_t wc);
40int iswupper(wint_t wc);
41int iswxdigit(wint_t wc);
42int iswctype(wint_t wc, wctype_t desc);
43wctype_t wctype(const char* property);
44wint_t towlower(wint_t wc);
45wint_t towupper(wint_t wc);
46wint_t towctrans(wint_t wc, wctrans_t desc);
47wctrans_t wctrans(const char* property);
48
49}  // std
50
51*/
52
53#include <__config>
54#include <cctype>
55#include <wctype.h>
56
57#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
58#pragma GCC system_header
59#endif
60
61_LIBCPP_BEGIN_NAMESPACE_STD
62
63using ::wint_t;
64using ::wctrans_t;
65using ::wctype_t;
66using ::iswalnum;
67using ::iswalpha;
68using ::iswblank;
69using ::iswcntrl;
70using ::iswdigit;
71using ::iswgraph;
72using ::iswlower;
73using ::iswprint;
74using ::iswpunct;
75using ::iswspace;
76using ::iswupper;
77using ::iswxdigit;
78using ::iswctype;
79using ::wctype;
80using ::towlower;
81using ::towupper;
82using ::towctrans;
83using ::wctrans;
84
85_LIBCPP_END_NAMESPACE_STD
86
87#endif  // _LIBCPP_CWCTYPE
88