summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/NewKit
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2024-11-02 07:46:45 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2024-11-02 07:49:04 +0100
commitf5e656424dc41ff93c67bcc8139a76d40f525efc (patch)
treef701847fb8d2bec8a31c1f24f86afc5f2f338e64 /dev/ZKAKit/NewKit
parent358379efc79bdda8b5742b82b95c45063184d76f (diff)
IMP: minOSKrnl commit 1039.
- KernelKit: New allocation limit in Heap.cc - KernelKit: Add Matches method for password validation. - KernelKit: Scheduler and Thread have been improved with new validations on frame. - META: Ran format command. - NewKit: Add new Ptr8 type for UInt8* types. - MBCI: Fix codestyle. Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKAKit/NewKit')
-rw-r--r--dev/ZKAKit/NewKit/Array.h2
-rw-r--r--dev/ZKAKit/NewKit/Defines.h1
-rw-r--r--dev/ZKAKit/NewKit/Json.h4
-rw-r--r--dev/ZKAKit/NewKit/KString.h8
4 files changed, 8 insertions, 7 deletions
diff --git a/dev/ZKAKit/NewKit/Array.h b/dev/ZKAKit/NewKit/Array.h
index 6caa5b2d..28060857 100644
--- a/dev/ZKAKit/NewKit/Array.h
+++ b/dev/ZKAKit/NewKit/Array.h
@@ -17,7 +17,7 @@ namespace Kernel
{
public:
explicit Array() = default;
- ~Array() = default;
+ ~Array() = default;
Array& operator=(const Array&) = default;
Array(const Array&) = default;
diff --git a/dev/ZKAKit/NewKit/Defines.h b/dev/ZKAKit/NewKit/Defines.h
index dd9439b6..f43472af 100644
--- a/dev/ZKAKit/NewKit/Defines.h
+++ b/dev/ZKAKit/NewKit/Defines.h
@@ -61,6 +61,7 @@ namespace Kernel
typedef UIntPtr* Ptr64;
typedef UInt32* Ptr32;
+ typedef UInt8* Ptr8;
using Utf8Char = char8_t;
using Utf16Char = char16_t;
diff --git a/dev/ZKAKit/NewKit/Json.h b/dev/ZKAKit/NewKit/Json.h
index 1ca5fae1..05b24808 100644
--- a/dev/ZKAKit/NewKit/Json.h
+++ b/dev/ZKAKit/NewKit/Json.h
@@ -27,7 +27,7 @@ namespace Kernel
public:
explicit JSON()
{
- auto len = cJSONLen;
+ auto len = cJSONLen;
KString key = KString(len);
key += cJSONNull;
@@ -50,7 +50,7 @@ namespace Kernel
}
private:
- Bool fUndefined; // is this instance undefined?
+ Bool fUndefined; // is this instance undefined?
KString fKey;
KString fValue;
diff --git a/dev/ZKAKit/NewKit/KString.h b/dev/ZKAKit/NewKit/KString.h
index 5082f5fa..38cfe330 100644
--- a/dev/ZKAKit/NewKit/KString.h
+++ b/dev/ZKAKit/NewKit/KString.h
@@ -86,9 +86,9 @@ namespace Kernel
struct StringBuilder final
{
static ErrorOr<KString> Construct(const Char* data);
- static const Char* FromBool(const Char* fmt, bool n);
- static const Char* Format(const Char* fmt, const Char* from);
- static bool Equals(const Char* lhs, const Char* rhs);
- static bool Equals(const WideChar* lhs, const WideChar* rhs);
+ static const Char* FromBool(const Char* fmt, bool n);
+ static const Char* Format(const Char* fmt, const Char* from);
+ static bool Equals(const Char* lhs, const Char* rhs);
+ static bool Equals(const WideChar* lhs, const WideChar* rhs);
};
} // namespace Kernel