diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
| commit | d7112cd6909640afd7609b3a142bc6ecf921ee25 (patch) | |
| tree | 55033ad28d58d536c4b3bad715d8635f00773bfd /Private/NewKit/Defines.hpp | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewKit/Defines.hpp')
| -rw-r--r-- | Private/NewKit/Defines.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Private/NewKit/Defines.hpp b/Private/NewKit/Defines.hpp index 7d674df3..b272364a 100644 --- a/Private/NewKit/Defines.hpp +++ b/Private/NewKit/Defines.hpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -14,7 +14,7 @@ #define NEWKIT_VERSION "1.0.0" #if !defined(_INC_NO_STDC_HEADERS) && defined(__GNUC__) -#include <CRT/__cxxkit_defines.h> +#include <CRT/__cxxkit_defines.hxx> #endif #ifdef __has_feature @@ -23,7 +23,7 @@ #endif #endif -namespace hCore { +namespace HCore { using voidPtr = void *; using VoidPtr = void *; using nullPtr = decltype(nullptr); @@ -77,14 +77,14 @@ template <typename Args> Args &&move(Args &&arg) { return static_cast<Args &&>(arg); } -} // namespace hCore +} // namespace HCore #define DEDUCE_ENDIAN(address, value) \ - (((reinterpret_cast<hCore::Char *>(address)[0]) == (value)) \ - ? (hCore::Endian::kBig) \ - : (hCore::Endian::kLittle)) + (((reinterpret_cast<HCore::Char *>(address)[0]) == (value)) \ + ? (HCore::Endian::kBig) \ + : (HCore::Endian::kLittle)) #define Yes (true) #define No (false) -#define VoidStar hCore::voidPtr +#define VoidStar HCore::voidPtr |
