removed funcs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -356,73 +356,6 @@ static struct cname
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* some ctype functions with non-ascii-char guard
|
|
||||||
*/
|
|
||||||
static int
|
|
||||||
wx_isdigit(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && isdigit((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_isalpha(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && isalpha((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_isalnum(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && isalnum((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_isupper(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && isupper((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_islower(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && islower((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_isgraph(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && isgraph((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_ispunct(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && ispunct((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
wx_isspace(wx_wchar c)
|
|
||||||
{
|
|
||||||
return (c >= 0 && c <= UCHAR_MAX && isspace((unsigned char) c));
|
|
||||||
}
|
|
||||||
|
|
||||||
static wx_wchar
|
|
||||||
wx_toupper(wx_wchar c)
|
|
||||||
{
|
|
||||||
if (c >= 0 && c <= UCHAR_MAX)
|
|
||||||
return toupper((unsigned char) c);
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
|
|
||||||
static wx_wchar
|
|
||||||
wx_tolower(wx_wchar c)
|
|
||||||
{
|
|
||||||
if (c >= 0 && c <= UCHAR_MAX)
|
|
||||||
return tolower((unsigned char) c);
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nmcces - how many distinct MCCEs are there?
|
* nmcces - how many distinct MCCEs are there?
|
||||||
|
Reference in New Issue
Block a user