aboutsummaryrefslogtreecommitdiff
path: root/include/coreutil.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-08-30 22:18:43 +0200
committersfan5 <sfan5@live.de>2021-08-30 22:42:13 +0200
commit4389a15e0f0e1e0197c7a5460b6a03452a563976 (patch)
tree45a992880d3982e43f4f62bb1f275035ddeead9a /include/coreutil.h
parent8f386999a6f3cb57244972d579a938aab44afea8 (diff)
downloadirrlicht-4389a15e0f0e1e0197c7a5460b6a03452a563976.tar.xz
Remove unused locale-like code, utf8 functions and headers
Diffstat (limited to 'include/coreutil.h')
-rw-r--r--include/coreutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/coreutil.h b/include/coreutil.h
index b4d5e19..b5c387c 100644
--- a/include/coreutil.h
+++ b/include/coreutil.h
@@ -194,9 +194,9 @@ static inline io::path mergeFilename(const io::path& path, const io::path& filen
//! some standard function ( to remove dependencies )
-inline s32 isdigit(s32 c) { return c >= '0' && c <= '9'; }
-inline s32 isspace(s32 c) { return c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v'; }
-inline s32 isupper(s32 c) { return c >= 'A' && c <= 'Z'; }
+inline bool isdigit(s32 c) { return c >= '0' && c <= '9'; }
+inline bool isspace(s32 c) { return c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v'; }
+inline bool isupper(s32 c) { return c >= 'A' && c <= 'Z'; }
} // end namespace core