diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-18 20:01:38 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-18 20:01:38 +0100 |
| commit | 98347089c7e4e2b306d25a0db77e00aa2ea50882 (patch) | |
| tree | a0b3a1130bff9068055aea87f3e3b964dc9fce0a /Public/Kits/System.Core/Heap.cxx | |
| parent | 4c714f2c24c5df78bae2f35c42c73107de4c8c71 (diff) | |
unstable, secret: Very important changes done to the system API, add
threading functions.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Core/Heap.cxx')
| -rw-r--r-- | Public/Kits/System.Core/Heap.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
