mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
Added CharFilterNotWhitespace
git-svn-id: svn://ultimatepp.org/upp/trunk@377 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1d1ab72a9b
commit
06758e3dad
2 changed files with 6 additions and 0 deletions
|
|
@ -58,6 +58,11 @@ int CharFilterWhitespace(int c)
|
|||
return IsSpace(c) ? c : 0;
|
||||
}
|
||||
|
||||
int CharFilterNotWhitespace(int c)
|
||||
{
|
||||
return IsSpace(c) ? 0 : c;
|
||||
}
|
||||
|
||||
int CharFilterAlpha(int c)
|
||||
{
|
||||
return IsAlpha(c) ? c : 0;
|
||||
|
|
|
|||
|
|
@ -771,6 +771,7 @@ int CharFilterAscii128(int c);
|
|||
int CharFilterUnicode(int c);
|
||||
int CharFilterDigit(int c);
|
||||
int CharFilterWhitespace(int c);
|
||||
int CharFilterNotWhitespace(int c);
|
||||
int CharFilterAlpha(int c);
|
||||
int CharFilterAlphaToUpper(int c);
|
||||
int CharFilterAlphaToLower(int c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue