summaryrefslogtreecommitdiffhomepage
path: root/Kernel/NewKit/KernelCheck.hpp
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-02 22:00:35 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-02 22:00:49 +0200
commit375d0210dcb2070a12d916523f4a1dafff28360c (patch)
treed0c217f529b8069ea659778c2ee9ca20aeba33a4 /Kernel/NewKit/KernelCheck.hpp
parentf1d3744829a661d1600c2f3bbdbdf679ee0bd0e1 (diff)
MHR-36: Change namespace name, got out of the codename stage.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/NewKit/KernelCheck.hpp')
-rw-r--r--Kernel/NewKit/KernelCheck.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/NewKit/KernelCheck.hpp b/Kernel/NewKit/KernelCheck.hpp
index 046cab3d..ae1eec51 100644
--- a/Kernel/NewKit/KernelCheck.hpp
+++ b/Kernel/NewKit/KernelCheck.hpp
@@ -9,14 +9,14 @@
#include <NewKit/Defines.hpp>
-namespace NewOS
+namespace Kernel
{
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) \
- NewOS::ke_runtime_check(EXPR, FILE, STRINGIFY(LINE))
+ Kernel::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)
@@ -38,7 +38,7 @@ enum RUNTIME_CHECK
RUNTIME_CHECK_COUNT,
};
-namespace NewOS
+namespace Kernel
{
class DumpManager final
{
@@ -50,7 +50,7 @@ namespace NewOS
};
void ke_stop(const Int& id);
-} // namespace NewOS
+} // namespace Kernel
#ifdef TRY
#undef TRY