From 36dee4f0d8ea806b2f061ed66a89e812ab007ed2 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 22 Dec 2025 07:38:52 +0100 Subject: feat: test: Add `kout` test and rename DeviceInterface to IDevice in KernelKit. introduce UserPtr and unburden vettable by removing the IVettable helper. Signed-off-by: Amlal El Mahrouss --- src/kernel/NeKit/Config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/kernel/NeKit/Config.h') diff --git a/src/kernel/NeKit/Config.h b/src/kernel/NeKit/Config.h index 79dbf411..e4e34e2c 100644 --- a/src/kernel/NeKit/Config.h +++ b/src/kernel/NeKit/Config.h @@ -191,6 +191,9 @@ template struct FalseResult final { using ResultType = Type; using ResultTypeRef = ResultType&; + using TypeRef = ResultTypeRef; + using ConstType = const Type&; + using TypePtr = Type*; static constexpr bool kValue = false; }; @@ -199,6 +202,9 @@ template struct TrueResult final { using ResultType = Type; using ResultTypeRef = ResultType&; + using TypeRef = ResultTypeRef; + using ConstType = const Type&; + using TypePtr = Type*; static constexpr bool kValue = true; }; @@ -207,6 +213,9 @@ template struct PropertyResult final { using ResultType = Type; using ResultTypeRef = ResultType&; + using TypeRef = ResultTypeRef; + using ConstType = const Type&; + using TypePtr = Type*; static constexpr bool kValue = Type::kValue; }; -- cgit v1.2.3