From 463e7472e737fb8259a30304e729772041ea5498 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 21 Nov 2025 09:09:33 +0100 Subject: feat: kernel: NeKit improvements and new TOML file. feat: frameworks: CoreFoundation improvements and new KTest framework. Signed-off-by: Amlal El Mahrouss --- dev/kernel/NeKit/Function.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'dev/kernel/NeKit/Function.h') diff --git a/dev/kernel/NeKit/Function.h b/dev/kernel/NeKit/Function.h index 45b1a5af..70242bc3 100644 --- a/dev/kernel/NeKit/Function.h +++ b/dev/kernel/NeKit/Function.h @@ -4,13 +4,15 @@ ======================================== */ -#ifndef _INC_FUNCTION_H_ -#define _INC_FUNCTION_H_ +#pragma once #include #include namespace Kernel { +/// ================================================================================ +/// @brief Function wrapper class. +/// ================================================================================ template class Function final { public: @@ -40,11 +42,10 @@ class Function final { private: T(*fFn) - (Args... args); + (Args... args){nullptr}; }; template using FunctionOr = ErrorOr>; } // namespace Kernel -#endif // !_INC_FUNCTION_H__ -- cgit v1.2.3