summaryrefslogtreecommitdiffhomepage
path: root/Private/NewKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-30 08:46:09 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-30 08:46:09 +0100
commitd7112cd6909640afd7609b3a142bc6ecf921ee25 (patch)
tree55033ad28d58d536c4b3bad715d8635f00773bfd /Private/NewKit
parentf22e69b8837b84548f79e0b8ca7bef24605c6611 (diff)
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewKit')
-rw-r--r--Private/NewKit/Array.hpp6
-rw-r--r--Private/NewKit/ArrayList.hpp6
-rw-r--r--Private/NewKit/Atom.hpp6
-rw-r--r--Private/NewKit/CRC32.hpp6
-rw-r--r--Private/NewKit/CxxAbi.hpp2
-rw-r--r--Private/NewKit/Defines.hpp16
-rw-r--r--Private/NewKit/ErrorID.hpp2
-rw-r--r--Private/NewKit/ErrorOr.hpp6
-rw-r--r--Private/NewKit/Function.hpp4
-rw-r--r--Private/NewKit/Json.hpp10
-rw-r--r--Private/NewKit/KernelHeap.hpp6
-rw-r--r--Private/NewKit/LockDelegate.hpp6
-rw-r--r--Private/NewKit/Macros.hpp4
-rw-r--r--Private/NewKit/MutableArray.hpp12
-rw-r--r--Private/NewKit/New.hpp2
-rw-r--r--Private/NewKit/NewKit.hpp4
-rw-r--r--Private/NewKit/OwnPtr.hpp8
-rw-r--r--Private/NewKit/PageAllocator.hpp6
-rw-r--r--Private/NewKit/PageManager.hpp6
-rw-r--r--Private/NewKit/Pair.hpp6
-rw-r--r--Private/NewKit/Pmm.hpp6
-rw-r--r--Private/NewKit/Ref.hpp8
-rw-r--r--Private/NewKit/RuntimeCheck.hpp (renamed from Private/NewKit/Panic.hpp)12
-rw-r--r--Private/NewKit/Stream.hpp6
-rw-r--r--Private/NewKit/String.hpp8
-rw-r--r--Private/NewKit/UserHeap.hpp6
-rw-r--r--Private/NewKit/Utils.hpp6
-rw-r--r--Private/NewKit/Variant.hpp6
28 files changed, 91 insertions, 91 deletions
diff --git a/Private/NewKit/Array.hpp b/Private/NewKit/Array.hpp
index f31442a5..ecac146c 100644
--- a/Private/NewKit/Array.hpp
+++ b/Private/NewKit/Array.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -12,7 +12,7 @@
#include <NewKit/ErrorOr.hpp>
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
template <typename T, Size N>
class Array final
@@ -58,4 +58,4 @@ private:
T m_Array[N];
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/ArrayList.hpp b/Private/NewKit/ArrayList.hpp
index b6590c37..8921bebc 100644
--- a/Private/NewKit/ArrayList.hpp
+++ b/Private/NewKit/ArrayList.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -11,7 +11,7 @@
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
template <typename T>
class ArrayList final
@@ -57,4 +57,4 @@ namespace hCore
{
return ArrayList<ValueType>{val};
}
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Atom.hpp b/Private/NewKit/Atom.hpp
index a35f762d..46fe536b 100644
--- a/Private/NewKit/Atom.hpp
+++ b/Private/NewKit/Atom.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -10,7 +10,7 @@
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
template <typename T> class Atom final
{
@@ -45,4 +45,4 @@ template <typename T> class Atom final
private:
T m_ArrayOfAtoms;
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/CRC32.hpp b/Private/NewKit/CRC32.hpp
index 85be87e4..84b5a31f 100644
--- a/Private/NewKit/CRC32.hpp
+++ b/Private/NewKit/CRC32.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore Date Added: 13/02/2023
+ * HCore Date Added: 13/02/2023
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -14,8 +14,8 @@
#define kCrcCnt (256)
-namespace hCore {
+namespace HCore {
Int ke_calculate_crc32(const Char* crc, Int len) noexcept;
-} // namespace hCore
+} // namespace HCore
#endif // !__CRC32_H__
diff --git a/Private/NewKit/CxxAbi.hpp b/Private/NewKit/CxxAbi.hpp
index 6f1577de..12e4dc6e 100644
--- a/Private/NewKit/CxxAbi.hpp
+++ b/Private/NewKit/CxxAbi.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
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
diff --git a/Private/NewKit/ErrorID.hpp b/Private/NewKit/ErrorID.hpp
index 84dbe559..35285fd4 100644
--- a/Private/NewKit/ErrorID.hpp
+++ b/Private/NewKit/ErrorID.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
diff --git a/Private/NewKit/ErrorOr.hpp b/Private/NewKit/ErrorOr.hpp
index 6514c2fd..dfe3fbe6 100644
--- a/Private/NewKit/ErrorOr.hpp
+++ b/Private/NewKit/ErrorOr.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
-* hCore
+* HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -12,7 +12,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/Ref.hpp>
-namespace hCore
+namespace HCore
{
using ErrorT = UInt;
@@ -65,4 +65,4 @@ template <typename T> class ErrorOr final
using ErrorOrAny = ErrorOr<voidPtr>;
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Function.hpp b/Private/NewKit/Function.hpp
index 772755e1..3addc636 100644
--- a/Private/NewKit/Function.hpp
+++ b/Private/NewKit/Function.hpp
@@ -3,7 +3,7 @@
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
template <typename T, typename... Args>
class Function final
@@ -44,6 +44,6 @@ namespace hCore
T (*m_Fn)(Args... args);
};
-} // namespace hCore
+} // namespace HCore
#endif // !_INC_FUNCTION_HPP__
diff --git a/Private/NewKit/Json.hpp b/Private/NewKit/Json.hpp
index d4d42ab1..76ed0d99 100644
--- a/Private/NewKit/Json.hpp
+++ b/Private/NewKit/Json.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -12,16 +12,16 @@
// last-rev: 30/01/24
-#include <CompilerKit/Compiler.hpp>
+#include <CompilerKit/CompilerKit.hpp>
#include <NewKit/Defines.hpp>
#include <NewKit/Stream.hpp>
#include <NewKit/String.hpp>
#include <NewKit/Utils.hpp>
-namespace hCore {
+namespace HCore {
class JsonType final {
public:
- explicit JsonType() : hCore::JsonType(1, 1) {}
+ explicit JsonType() : HCore::JsonType(1, 1) {}
explicit JsonType(SizeT lhsLen, SizeT rhsLen)
: fKey(lhsLen), fValue(rhsLen) {}
@@ -86,4 +86,4 @@ struct JsonStreamTraits final {
};
using JsonStream = Stream<JsonStreamTraits, JsonType>;
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/KernelHeap.hpp b/Private/NewKit/KernelHeap.hpp
index 301a2294..85e916d3 100644
--- a/Private/NewKit/KernelHeap.hpp
+++ b/Private/NewKit/KernelHeap.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -16,7 +16,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/Pmm.hpp>
-namespace hCore {
+namespace HCore {
Int32 kernel_delete_ptr(voidPtr allocatedPtr);
voidPtr kernel_new_ptr(const SizeT &sz, const bool rw, const bool user);
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/LockDelegate.hpp b/Private/NewKit/LockDelegate.hpp
index e08b805a..97eae04b 100644
--- a/Private/NewKit/LockDelegate.hpp
+++ b/Private/NewKit/LockDelegate.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -15,7 +15,7 @@
#define kLockDone (200U) /* job is done */
#define kLockTimedOut (100U) /* has timed out */
-namespace hCore
+namespace HCore
{
template <Size N>
class LockDelegate final
@@ -57,4 +57,4 @@ class LockDelegate final
private:
Atom<UInt> m_LockStatus;
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Macros.hpp b/Private/NewKit/Macros.hpp
index 6f72dadd..54f14f5f 100644
--- a/Private/NewKit/Macros.hpp
+++ b/Private/NewKit/Macros.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -28,7 +28,7 @@
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(a) \
(((sizeof(a) / sizeof(*(a))) / \
- (static_cast<hCore::Size>(!(sizeof(a) % sizeof(*(a)))))))
+ (static_cast<HCore::Size>(!(sizeof(a) % sizeof(*(a)))))))
#endif
#ifndef ALIGN
diff --git a/Private/NewKit/MutableArray.hpp b/Private/NewKit/MutableArray.hpp
index fcc1c038..469b3bf1 100644
--- a/Private/NewKit/MutableArray.hpp
+++ b/Private/NewKit/MutableArray.hpp
@@ -1,14 +1,14 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
*/
#pragma once
-#include <CompilerKit/Compiler.hpp>
+#include <CompilerKit/CompilerKit.hpp>
#include <NewKit/Array.hpp>
#include <NewKit/Defines.hpp>
@@ -47,7 +47,7 @@
// FIXME: this is a shitty algorithm, which is consumer hungry.
// Remove and occurences of that, and remove that class.
-namespace hCore
+namespace HCore
{
template <typename T> class MutableArray;
@@ -145,7 +145,7 @@ template <typename T, T _PlaceHolderValue> class NullableMutableArray
MutableLinkedList<T> *m_FirstNode{nullptr};
/* Number of nodes inside of this dynamic array. */
- hCore::SizeT m_NodeCount{0};
+ HCore::SizeT m_NodeCount{0};
private:
// don't remove that
@@ -220,6 +220,6 @@ class MutableArray : public NullableMutableArray<voidPtr, nullptr>
MutableLinkedList<T> *m_FirstNode{nullptr};
/* Number of nodes inside of this dynamic array. */
- hCore::SizeT m_NodeCount{0};
+ HCore::SizeT m_NodeCount{0};
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/New.hpp b/Private/NewKit/New.hpp
index ba862788..47b9a38f 100644
--- a/Private/NewKit/New.hpp
+++ b/Private/NewKit/New.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
diff --git a/Private/NewKit/NewKit.hpp b/Private/NewKit/NewKit.hpp
index 02931085..4ee9b463 100644
--- a/Private/NewKit/NewKit.hpp
+++ b/Private/NewKit/NewKit.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -18,7 +18,7 @@
#include <NewKit/ArrayList.hpp>
#include <NewKit/Array.hpp>
#include <NewKit/Ref.hpp>
-#include <NewKit/Panic.hpp>
+#include <NewKit/RuntimeCheck.hpp>
#include <NewKit/Stream.hpp>
#include <NewKit/Utils.hpp>
#include <NewKit/MutableArray.hpp>
diff --git a/Private/NewKit/OwnPtr.hpp b/Private/NewKit/OwnPtr.hpp
index 9eb02f42..e1cc6890 100644
--- a/Private/NewKit/OwnPtr.hpp
+++ b/Private/NewKit/OwnPtr.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -11,10 +11,10 @@
#pragma once
#include <NewKit/Defines.hpp>
-#include <NewKit/Panic.hpp>
+#include <NewKit/RuntimeCheck.hpp>
#include <NewKit/Ref.hpp>
-namespace hCore
+namespace HCore
{
template <typename T> class OwnPtr;
@@ -64,4 +64,4 @@ template <typename T, typename... Args> OwnPtr<T> make_ptr(Args... args)
return ret;
}
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/PageAllocator.hpp b/Private/NewKit/PageAllocator.hpp
index 13a85ff8..9adae72c 100644
--- a/Private/NewKit/PageAllocator.hpp
+++ b/Private/NewKit/PageAllocator.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -13,7 +13,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/PageManager.hpp>
-namespace hCore
+namespace HCore
{
namespace Detail
{
@@ -61,4 +61,4 @@ bool page_disable(UIntPtr addr);
} // namespace Detail
// TODO: SwapVirtualMemoryDevice class!
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/PageManager.hpp b/Private/NewKit/PageManager.hpp
index e4a529d0..f836000d 100644
--- a/Private/NewKit/PageManager.hpp
+++ b/Private/NewKit/PageManager.hpp
@@ -4,7 +4,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -20,7 +20,7 @@
#define kBadAddress (0)
#endif // #ifndef kBadAddress
-namespace hCore
+namespace HCore
{
class PageManager;
@@ -78,4 +78,4 @@ struct PageManager final
friend PTEWrapper;
friend class Pmm;
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Pair.hpp b/Private/NewKit/Pair.hpp
index 4546cdbd..3472b515 100644
--- a/Private/NewKit/Pair.hpp
+++ b/Private/NewKit/Pair.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -11,7 +11,7 @@
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Pmm.hpp b/Private/NewKit/Pmm.hpp
index 7473e5d6..af6e21ca 100644
--- a/Private/NewKit/Pmm.hpp
+++ b/Private/NewKit/Pmm.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -13,7 +13,7 @@
#include <NewKit/PageManager.hpp>
#include <NewKit/Ref.hpp>
-namespace hCore
+namespace HCore
{
class Pmm;
class PTEWrapper;
@@ -42,4 +42,4 @@ namespace hCore
Ref<PageManager*> m_PageManager;
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Ref.hpp b/Private/NewKit/Ref.hpp
index 3d20c506..8a5be930 100644
--- a/Private/NewKit/Ref.hpp
+++ b/Private/NewKit/Ref.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -11,9 +11,9 @@
#pragma once
#include <NewKit/Defines.hpp>
-#include <NewKit/Panic.hpp>
+#include <NewKit/RuntimeCheck.hpp>
-namespace hCore
+namespace HCore
{
template <typename T>
class Ref final
@@ -85,4 +85,4 @@ namespace hCore
Ref<T> m_Ref{nullptr};
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Panic.hpp b/Private/NewKit/RuntimeCheck.hpp
index 4e461587..62cca2c1 100644
--- a/Private/NewKit/Panic.hpp
+++ b/Private/NewKit/RuntimeCheck.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -12,13 +12,13 @@
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
void runtime_check(bool bExpression, const char *file, const char *line);
}
#define MUST_PASS_COMPILER(EXPR, MSG) static_assert(EXPR, MSG)
-#define MUST_PASS(EXPR) hCore::runtime_check(EXPR, __FILE__, " %d -> ")
+#define MUST_PASS(EXPR) HCore::runtime_check(EXPR, __FILE__, " %d -> ")
#define assert(EXPR) MUST_PASS(EXPR, RUNTIME_CHECK_EXPRESSION)
enum RUNTIME_CHECK
@@ -39,7 +39,7 @@ enum RUNTIME_CHECK
RUNTIME_CHECK_BOOTSTRAP,
};
-namespace hCore
+namespace HCore
{
class DumpManager final
{
@@ -50,8 +50,8 @@ class DumpManager final
}
};
-void panic(const Int &id);
-} // namespace hCore
+void ke_stop(const Int &id);
+} // namespace HCore
#ifdef TRY
#undef TRY
diff --git a/Private/NewKit/Stream.hpp b/Private/NewKit/Stream.hpp
index fcbb6f8f..72330b6c 100644
--- a/Private/NewKit/Stream.hpp
+++ b/Private/NewKit/Stream.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -13,7 +13,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/Ref.hpp>
-namespace hCore
+namespace HCore
{
template <typename StreamTraits, typename Kind>
class Stream final
@@ -58,4 +58,4 @@ namespace hCore
Ref<Kind> m_Kind;
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/String.hpp b/Private/NewKit/String.hpp
index ec1bc814..73f48d3e 100644
--- a/Private/NewKit/String.hpp
+++ b/Private/NewKit/String.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -11,9 +11,9 @@
#include <NewKit/Defines.hpp>
#include <NewKit/ErrorOr.hpp>
-#include <NewKit/Panic.hpp>
+#include <NewKit/RuntimeCheck.hpp>
-namespace hCore {
+namespace HCore {
class StringView final {
public:
explicit StringView() = default;
@@ -63,4 +63,4 @@ struct StringBuilder final {
static const char *Format(const char *fmt, const char *from);
static bool Equals(const char *lhs, const char *rhs);
};
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/UserHeap.hpp b/Private/NewKit/UserHeap.hpp
index 71a93f6b..63a65528 100644
--- a/Private/NewKit/UserHeap.hpp
+++ b/Private/NewKit/UserHeap.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -23,7 +23,7 @@
#define kPoolMaxSz 4096
#define kPoolMag 0x5500A1
-namespace hCore
+namespace HCore
{
enum
{
@@ -44,4 +44,4 @@ namespace hCore
VoidPtr pool_new_ptr(Int32 flags);
Int32 pool_free_ptr(voidPtr pointer);
Boolean pool_ptr_exists(UIntPtr thePool, UIntPtr thePtr, SizeT theLimit);
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Utils.hpp b/Private/NewKit/Utils.hpp
index adc4f3b9..02dcd00a 100644
--- a/Private/NewKit/Utils.hpp
+++ b/Private/NewKit/Utils.hpp
@@ -2,7 +2,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -12,7 +12,7 @@
#include <NewKit/Defines.hpp>
-namespace hCore
+namespace HCore
{
Int rt_copy_memory(const voidPtr src, voidPtr dst, Size len);
Int rt_move_memory(const voidPtr src, voidPtr dst, Size len);
@@ -29,4 +29,4 @@ namespace hCore
Int to_lower(Int c);
voidPtr string_in_string(const char* in, const char* needle);
char* string_from_char(char* str, const char chr);
-} // namespace hCore
+} // namespace HCore
diff --git a/Private/NewKit/Variant.hpp b/Private/NewKit/Variant.hpp
index 3493da01..23316ec1 100644
--- a/Private/NewKit/Variant.hpp
+++ b/Private/NewKit/Variant.hpp
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -12,7 +12,7 @@
#include <NewKit/Defines.hpp>
#include <NewKit/String.hpp>
-namespace hCore
+namespace HCore
{
class Variant final
{
@@ -46,4 +46,4 @@ namespace hCore
VariantKind m_Kind{VariantKind::kUndefined};
};
-} // namespace hCore
+} // namespace HCore