From 98347089c7e4e2b306d25a0db77e00aa2ea50882 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 18 Mar 2024 20:01:38 +0100 Subject: unstable, secret: Very important changes done to the system API, add threading functions. Signed-off-by: Amlal El Mahrouss --- Public/Kits/System.Core/Heap.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Public/Kits/System.Core/Heap.cxx') diff --git a/Public/Kits/System.Core/Heap.cxx b/Public/Kits/System.Core/Heap.cxx index 56188e95..aaac37a8 100644 --- a/Public/Kits/System.Core/Heap.cxx +++ b/Public/Kits/System.Core/Heap.cxx @@ -20,7 +20,10 @@ Heap* Heap::Shared() noexcept { return heap; } -void Heap::Delete(HeapPtr me) noexcept { HcFreeProcessHeap(kInstanceObject, me); } +void Heap::Delete(HeapPtr me) noexcept { + CA_MUST_PASS(me); + HcFreeProcessHeap(kInstanceObject, me); +} SizeT Heap::Size(HeapPtr me) noexcept { CA_MUST_PASS(me); -- cgit v1.2.3