diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-18 11:50:52 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-18 11:50:52 +0100 |
| commit | 465a99f17f9e8f56813f225f09a6a1a498be9deb (patch) | |
| tree | 5f11d762da993a0912ff9dbf547b2f871940a30c /public | |
| parent | 6f367a0347d314c367054071c5abaf92aa9b7d49 (diff) | |
chore: kernel: codebase improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public')
8 files changed, 11 insertions, 9 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Array.h b/public/frameworks/CoreFoundation.fwrk/headers/Array.h index b2a63af4..ce036472 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Array.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Array.h @@ -8,7 +8,7 @@ #include <libSystem/SystemKit/System.h> namespace CF { -template <typename T, SizeT N> +template <class T, SizeT N> class CFArray final { public: explicit CFArray() = default; diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Atom.h b/public/frameworks/CoreFoundation.fwrk/headers/Atom.h index 239e3276..510feac1 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Atom.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Atom.h @@ -8,7 +8,7 @@ #include <CoreFoundation.fwrk/headers/Foundation.h> namespace CF { -template <typename T> +template <class T> class CFAtom final { public: explicit CFAtom() = default; diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h b/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h index 9f0e8532..b178d96b 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h @@ -8,7 +8,7 @@ #include <libSystem/SystemKit/System.h> namespace CF { -template <typename Key, typename Value> +template <class Key, class Value> class CFDictionary final { public: explicit CFDictionary() = default; diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h index 6abe3668..3d022fff 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h @@ -13,7 +13,7 @@ union CFGuid; class CFProperty; class CFObject; -template <typename T> +template <class T> class CFRef; class CFFont; struct CFPoint; diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Property.h b/public/frameworks/CoreFoundation.fwrk/headers/Property.h index 39322f8a..ddeb407a 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Property.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Property.h @@ -15,7 +15,7 @@ namespace CF { class CFString; class CFProperty; -template <typename Cls, SizeT N> +template <class Cls, SizeT N> class CFArray; /// ================================================================================ diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Ref.h b/public/frameworks/CoreFoundation.fwrk/headers/Ref.h index adba2278..10f1ef52 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Ref.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Ref.h @@ -10,13 +10,13 @@ #include <libSystem/SystemKit/System.h> namespace CF { -template <typename T> +template <class T> class CFRef; /// ================================================================================ /// @brief CFRef class for reference counting. /// ================================================================================ -template <typename T> +template <class T> class CFRef final CF_OBJECT { public: CFRef() = default; diff --git a/public/frameworks/CoreFoundation.fwrk/xml/app.xml b/public/frameworks/CoreFoundation.fwrk/xml/app.xml index fe112a09..ceb31cf8 100644 --- a/public/frameworks/CoreFoundation.fwrk/xml/app.xml +++ b/public/frameworks/CoreFoundation.fwrk/xml/app.xml @@ -1,3 +1,4 @@ -<PropertyList/> +<PropertyList> <PLEntry Type="CFString" Name="LibraryName" Len="255" Value="CoreFoundation" /> <PLEntry Type="BOOL" Name="CacheLibs" Value="YES" /> +</PropertyList> diff --git a/public/frameworks/LaunchHelpers.fwrk/xml/app.xml b/public/frameworks/LaunchHelpers.fwrk/xml/app.xml index 6bc3a3f4..74cdb071 100644 --- a/public/frameworks/LaunchHelpers.fwrk/xml/app.xml +++ b/public/frameworks/LaunchHelpers.fwrk/xml/app.xml @@ -1,2 +1,3 @@ <PropertyList> -<PLEntry Type="CFString" Name="LibraryName" Len="18" Value="LaunchHelpers.fwrk" /></PropertyList>
\ No newline at end of file +<PLEntry Type="CFString" Name="LibraryName" Len="18" Value="LaunchHelpers.fwrk" /> +</PropertyList> |
