00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef COMMON_AC_WCTYPE_H
00021 #define COMMON_AC_WCTYPE_H
00022
00023
00024
00025
00026
00027 #include <common/ac/ctype.h>
00028
00029
00030
00031
00032
00033 #include <common/ac/stddef.h>
00034
00035
00036 #include <common/ac/wchar.h>
00037
00038
00039
00040
00041 #if HAVE_WIDEC_H
00042 #include <widec.h>
00043 #endif
00044
00045 #if HAVE_WCTYPE_H
00046 #include <wctype.h>
00047 #endif
00048
00049
00050
00051
00052
00053
00054 #ifndef HAVE_WINT_T
00055 #define HAVE_WINT_T 1
00056 typedef wchar_t wint_t;
00057 #endif
00058
00059 #if !HAVE_WCTYPE_H
00060 #include <common/main.h>
00061 int iswalnum(wint_t);
00062 int iswdigit(wint_t);
00063 int iswlower(wint_t);
00064 int iswprint(wint_t);
00065 int iswpunct(wint_t);
00066 int iswspace(wint_t);
00067 int iswupper(wint_t);
00068 wint_t towlower(wint_t);
00069 wint_t towupper(wint_t);
00070 #endif
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080 #if !HAVE_ISWPRINT
00081
00082 #ifdef iswprint
00083 #undef iswprint
00084 #endif
00085
00086 #ifdef iswspace
00087 #undef iswspace
00088 #endif
00089
00090 #ifdef iswpunct
00091 #undef iswpunct
00092 #endif
00093
00094 #ifdef iswupper
00095 #undef iswupper
00096 #endif
00097
00098 #ifdef iswlower
00099 #undef iswlower
00100 #endif
00101
00102 #ifdef iswdigit
00103 #undef iswdigit
00104 #endif
00105
00106 #ifdef iswalnum
00107 #undef iswalnum
00108 #endif
00109
00110 #ifdef towupper
00111 #undef towupper
00112 #endif
00113
00114 #ifdef towlower
00115 #undef towlower
00116 #endif
00117
00118 #endif // !HAVE_ISWPRINT
00119
00120 #endif // COMMON_AC_WCTYPE_H