Blame src/api/wctype.c

nsz 6a2161
#include <wctype.h>
nsz 6a2161
#define T(t) (t*)0;
nsz 6a2161
#define F(t,n) {t *y = &x.;;}
nsz 6a2161
#define C(n) switch(n){case n:;}
nsz 6a2161
static void f()
nsz 6a2161
{
nsz 6a2161
T(wint_t)
nsz 6a2161
T(wctrans_t)
nsz 6a2161
T(wctype_t)
nsz 6a2161
#ifdef _POSIX_C_SOURCE
nsz 6a2161
T(locale_t)
nsz 6a2161
#endif
nsz 6a2161
C(WEOF)
nsz 0ef264
{int(*p)(wint_t) = iswalnum;}
nsz 0ef264
{int(*p)(wint_t) = iswalpha;}
nsz 0ef264
{int(*p)(wint_t) = iswblank;}
nsz 0ef264
{int(*p)(wint_t) = iswcntrl;}
nsz 0ef264
{int(*p)(wint_t,wctype_t) = iswctype;}
nsz 0ef264
{int(*p)(wint_t) = iswdigit;}
nsz 0ef264
{int(*p)(wint_t) = iswgraph;}
nsz 0ef264
{int(*p)(wint_t) = iswlower;}
nsz 0ef264
{int(*p)(wint_t) = iswprint;}
nsz 0ef264
{int(*p)(wint_t) = iswpunct;}
nsz 0ef264
{int(*p)(wint_t) = iswspace;}
nsz 0ef264
{int(*p)(wint_t) = iswupper;}
nsz 0ef264
{int(*p)(wint_t) = iswxdigit;}
nsz 0ef264
{wint_t(*p)(wint_t,wctrans_t) = towctrans;}
nsz 0ef264
{wint_t(*p)(wint_t) = towlower;}
nsz 0ef264
{wint_t(*p)(wint_t) = towupper;}
nsz 0ef264
{wctrans_t(*p)(const char*) = wctrans;}
nsz 0ef264
{wctype_t(*p)(const char*) = wctype;}
nsz 6a2161
#ifdef _POSIX_C_SOURCE
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswalnum_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswalpha_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswblank_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswcntrl_l;}
nsz 0ef264
{int(*p)(wint_t,wctype_t,locale_t) = iswctype_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswdigit_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswgraph_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswlower_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswprint_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswpunct_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswspace_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswupper_l;}
nsz 0ef264
{int(*p)(wint_t,locale_t) = iswxdigit_l;}
nsz 0ef264
{wint_t(*p)(wint_t,wctrans_t,locale_t) = towctrans_l;}
nsz 0ef264
{wint_t(*p)(wint_t,locale_t) = towlower_l;}
nsz 0ef264
{wint_t(*p)(wint_t,locale_t) = towupper_l;}
nsz 0ef264
{wctrans_t(*p)(const char*,locale_t) = wctrans_l;}
nsz 0ef264
{wctype_t(*p)(const char*,locale_t) = wctype_l;}
nsz 6a2161
#endif
nsz 6a2161
}