ReactOS  0.4.15-dev-3440-g915569a
_cwctype.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 1999
3  * Boris Fomitchev
4  *
5  * This material is provided "as is", with absolutely no warranty expressed
6  * or implied. Any use is at your own risk.
7  *
8  * Permission to use or copy this software for any purpose is hereby granted
9  * without fee, provided the above notices are retained on all copies.
10  * Permission to modify the code and to distribute modified code is granted,
11  * provided the above notices are retained, and a notice that the code was
12  * modified is included with the above copyright notice.
13  *
14  */
15 
16 #ifndef _STLP_INTERNAL_CWCTYPE
17 #define _STLP_INTERNAL_CWCTYPE
18 
19 #if defined (__BORLANDC__) && !defined (_STLP_INTERNAL_CCTYPE)
20 # include <stl/_cctype.h>
21 #endif
22 
23 #if !defined (_STLP_WCE_EVC3)
24 # if defined (_STLP_USE_NEW_C_HEADERS)
25 # if defined (_STLP_HAS_INCLUDE_NEXT)
26 # include_next <cwctype>
27 # else
28 # include _STLP_NATIVE_CPP_C_HEADER(cwctype)
29 # endif
30 # if defined (__MSL__)
31 namespace std {
32  typedef wchar_t wctrans_t;
34  wctrans_t wctrans(const char *name);
35 }
36 using std::wctrans_t;
37 using std::towctrans;
38 using std::wctrans;
39 # endif
40 # else
41 # include <wctype.h>
42 # endif
43 
44 # if defined (_STLP_IMPORT_VENDOR_CSTD) && !defined (__hpux)
45 
46 # if defined (_STLP_USE_GLIBC) && !(defined (_GLIBCPP_USE_WCHAR_T) || defined (_GLIBCXX_USE_WCHAR_T)) || \
47  defined (__sun) || defined (__FreeBSD__) || \
48  defined (__CYGWIN__) || \
49  defined (__MINGW32__) && ((__MINGW32_MAJOR_VERSION < 3) || (__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION <= 0))
50 //We take wide functions from global namespace:
51 # define _STLP_VENDOR_CSTD_WFUNC
52 # else
53 # define _STLP_VENDOR_CSTD_WFUNC _STLP_VENDOR_CSTD
54 # endif
55 
59 # if !defined (_STLP_NO_CSTD_FUNCTION_IMPORTS)
60 # if !defined (__BORLANDC__) && !defined (__MSL__)
62 # if !defined (__DMC__) && (!defined(_WIN32_WCE) || (_WIN32_WCE < 400))
66 # endif
68 # endif
72 
81 
84 # endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
86 # endif /* _STLP_IMPORT_VENDOR_CSTD */
87 #endif /* _STLP_WCE_EVC3 */
88 
89 #endif /* _STLP_INTERNAL_CWCTYPE */
Definition: pdh_main.c:93
#define iswupper(_c)
Definition: ctype.h:665
#define iswxdigit(_c)
Definition: ctype.h:668
#define wint_t
Definition: _sunprocc.h:96
#define iswdigit(_c)
Definition: ctype.h:667
unsigned short wctype_t
Definition: crtdefs.h:352
#define iswalpha(_c)
Definition: ctype.h:664
Definition: features.h:417
#define iswalnum(_c)
Definition: ctype.h:671
wctrans_t __cdecl wctrans(const char *)
int wint_t
Definition: _apple.h:38
#define iswcntrl(_c)
Definition: ctype.h:674
#define iswgraph(_c)
Definition: ctype.h:673
const GLubyte * c
Definition: glext.h:8905
int __cdecl iswctype(wint_t wc, wctype_t wctypeFlags)
Definition: freeldr.c:97
#define iswspace(_c)
Definition: ctype.h:669
#define iswlower(_c)
Definition: ctype.h:666
wctype_t __cdecl wctype(const char *)
#define _STLP_END_NAMESPACE
Definition: features.h:503
wint_t __cdecl towctrans(wint_t, wctrans_t)
#define iswprint(_c)
Definition: ctype.h:672
#define iswpunct(_c)
Definition: ctype.h:670
Definition: name.c:38
#define towlower(c)
Definition: wctype.h:97
#define _STLP_BEGIN_NAMESPACE
Definition: features.h:501
#define towupper(c)
Definition: wctype.h:99
wchar_t wctrans_t
Definition: wctype.h:147