diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-22 08:48:37 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-22 08:48:37 +0200 |
| commit | 5d38a6302720eb1d2783c2067965ade316cc92de (patch) | |
| tree | 906b56ec92e9075181494e8a4012ebde72d22175 /dev/ZKA/NewKit | |
| parent | b95b1fc42d371b08aa82fea8e92aa04b2ef5631f (diff) | |
[REFACTOR] use Char instead of builtin char.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/NewKit')
| -rw-r--r-- | dev/ZKA/NewKit/KernelCheck.hxx | 2 | ||||
| -rw-r--r-- | dev/ZKA/NewKit/String.hxx | 6 | ||||
| -rw-r--r-- | dev/ZKA/NewKit/Utils.hxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/dev/ZKA/NewKit/KernelCheck.hxx b/dev/ZKA/NewKit/KernelCheck.hxx index 78d7506f..d1946e9a 100644 --- a/dev/ZKA/NewKit/KernelCheck.hxx +++ b/dev/ZKA/NewKit/KernelCheck.hxx @@ -11,7 +11,7 @@ namespace Kernel { - void ke_runtime_check(bool bExpression, const char* file, const char* line); + void ke_runtime_check(bool bExpression, const Char* file, const Char* line); } #define MUST_PASS_COMPILER(EXPR, MSG) static_assert(EXPR, MSG) diff --git a/dev/ZKA/NewKit/String.hxx b/dev/ZKA/NewKit/String.hxx index 5d9ebd21..8c4986ec 100644 --- a/dev/ZKA/NewKit/String.hxx +++ b/dev/ZKA/NewKit/String.hxx @@ -79,9 +79,9 @@ namespace Kernel struct StringBuilder final { static ErrorOr<StringView> Construct(const Char* data); - static const char* FromInt(const Char* fmt, int n); - static const char* FromBool(const Char* fmt, bool n); - static const char* Format(const Char* fmt, const Char* from); + static const Char* FromInt(const Char* fmt, int n); + static const Char* FromBool(const Char* fmt, bool n); + static const Char* Format(const Char* fmt, const Char* from); static bool Equals(const Char* lhs, const Char* rhs); static bool Equals(const WideChar* lhs, const WideChar* rhs); }; diff --git a/dev/ZKA/NewKit/Utils.hxx b/dev/ZKA/NewKit/Utils.hxx index a7213b5a..38f44f70 100644 --- a/dev/ZKA/NewKit/Utils.hxx +++ b/dev/ZKA/NewKit/Utils.hxx @@ -24,6 +24,6 @@ namespace Kernel Boolean is_space(Char chr); Int rt_to_uppercase(Int c); Int rt_to_lower(Int c); - voidPtr rt_string_in_string(const char* in, const char* needle); - char* rt_string_has_char(char* str, const char chr); + voidPtr rt_string_in_string(const Char* in, const Char* needle); + char* rt_string_has_char(Char* str, const Char chr); } // namespace Kernel |
