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/KernelKit/HError.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/KernelKit/HError.hpp')
| -rw-r--r-- | Private/KernelKit/HError.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Private/KernelKit/HError.hpp b/Private/KernelKit/HError.hpp index 4b943296..6885003f 100644 --- a/Private/KernelKit/HError.hpp +++ b/Private/KernelKit/HError.hpp @@ -9,7 +9,7 @@ #include <NewKit/Defines.hpp> #include <NewKit/ErrorID.hpp> -namespace HCore { +namespace NewOS { typedef Int32 HError; inline constexpr HError kErrorSuccess = 0; @@ -34,10 +34,10 @@ inline constexpr HError kErrorForkAlreadyExists = 50; inline constexpr HError kErrorUnimplemented = 0; Boolean ke_bug_check(void) noexcept; -} // namespace HCore +} // namespace NewOS -#define DbgOk() (kLastError == HCore::kErrorSuccess) -#define DbgFailed() (kLastError != HCore::kErrorSuccess) +#define DbgOk() (kLastError == NewOS::kErrorSuccess) +#define DbgFailed() (kLastError != NewOS::kErrorSuccess) #define DbgLastError() kLastError -inline HCore::HError kLastError = 0; +inline NewOS::HError kLastError = 0; |
