This commit is contained in:
Branimir Karadžić
2017-01-19 11:44:18 -08:00
parent 4cb7362e99
commit 2441cf2153
6 changed files with 34 additions and 24 deletions

View File

@@ -50,6 +50,11 @@ namespace bx
return isAlpha(_ch) || isNumeric(_ch);
}
bool isPrint(char _ch)
{
return isAlphaNum(_ch) || isSpace(_ch);
}
char toLower(char _ch)
{
return _ch + (isUpper(_ch) ? 0x20 : 0);