Home | History | Annotate | Download | only in include
      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 
     17 Macros:
     18 
     19     WEOF
     20 
     21 namespace std
     22 {
     23 
     24 Types:
     25 
     26     wint_t
     27     wctrans_t
     28     wctype_t
     29 
     30 int iswalnum(wint_t wc);
     31 int iswalpha(wint_t wc);
     32 int iswblank(wint_t wc);  // C99
     33 int iswcntrl(wint_t wc);
     34 int iswdigit(wint_t wc);
     35 int iswgraph(wint_t wc);
     36 int iswlower(wint_t wc);
     37 int iswprint(wint_t wc);
     38 int iswpunct(wint_t wc);
     39 int iswspace(wint_t wc);
     40 int iswupper(wint_t wc);
     41 int iswxdigit(wint_t wc);
     42 int iswctype(wint_t wc, wctype_t desc);
     43 wctype_t wctype(const char* property);
     44 wint_t towlower(wint_t wc);
     45 wint_t towupper(wint_t wc);
     46 wint_t towctrans(wint_t wc, wctrans_t desc);
     47 wctrans_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 
     63 using ::wint_t;
     64 using ::wctrans_t;
     65 using ::wctype_t;
     66 using ::iswalnum;
     67 using ::iswalpha;
     68 using ::iswblank;
     69 using ::iswcntrl;
     70 using ::iswdigit;
     71 using ::iswgraph;
     72 using ::iswlower;
     73 using ::iswprint;
     74 using ::iswpunct;
     75 using ::iswspace;
     76 using ::iswupper;
     77 using ::iswxdigit;
     78 using ::iswctype;
     79 using ::wctype;
     80 using ::towlower;
     81 using ::towupper;
     82 using ::towctrans;
     83 using ::wctrans;
     84 
     85 _LIBCPP_END_NAMESPACE_STD
     86 
     87 #endif  // _LIBCPP_CWCTYPE
     88