diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 13:05:28 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 13:05:28 +0100 |
| commit | 84cc6ff6f43b48383248282743efc514946db641 (patch) | |
| tree | fa7f9099b87e235ba122d17b6a3b39234cd39883 /Private/NewKit/KernelCheck.hpp | |
| parent | 3d798c5fc738768493df925d1f5d72256f2dec4e (diff) | |
Kernel: :boom: breaking changes, Update API and the HCORE based
macros, rename HCore to NewOS.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewKit/KernelCheck.hpp')
| -rw-r--r-- | Private/NewKit/KernelCheck.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/NewKit/KernelCheck.hpp b/Private/NewKit/KernelCheck.hpp index 77dc558a..c65390ad 100644 --- a/Private/NewKit/KernelCheck.hpp +++ b/Private/NewKit/KernelCheck.hpp @@ -9,13 +9,13 @@ #include <NewKit/Defines.hpp> -namespace HCore { +namespace NewOS { void ke_runtime_check(bool bExpression, const char *file, const char *line); } #define MUST_PASS_COMPILER(EXPR, MSG) static_assert(EXPR, MSG) #define __MUST_PASS(EXPR, FILE, LINE) \ - HCore::ke_runtime_check(EXPR, FILE, STRINGIFY(LINE)) + NewOS::ke_runtime_check(EXPR, FILE, STRINGIFY(LINE)) #define MUST_PASS(EXPR) __MUST_PASS(EXPR, __FILE__, __LINE__) #define assert(EXPR) MUST_PASS(EXPR, RUNTIME_CHECK_EXPRESSION) @@ -36,7 +36,7 @@ enum RUNTIME_CHECK { RUNTIME_CHECK_COUNT, }; -namespace HCore { +namespace NewOS { class DumpManager final { public: static void Dump(void) { @@ -45,7 +45,7 @@ class DumpManager final { }; void ke_stop(const Int &id); -} // namespace HCore +} // namespace NewOS #ifdef TRY #undef TRY |
