From 2261f3610165b874faf17a499c2273c88ab669a4 Mon Sep 17 00:00:00 2001 From: Able Date: Sun, 24 Nov 2024 11:04:12 -0600 Subject: [PATCH] simply just dont inline --- sysdata/libraries/stn/src/alloc/block_alloc.hb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdata/libraries/stn/src/alloc/block_alloc.hb b/sysdata/libraries/stn/src/alloc/block_alloc.hb index 0477b0f51..b0917bd58 100644 --- a/sysdata/libraries/stn/src/alloc/block_alloc.hb +++ b/sysdata/libraries/stn/src/alloc/block_alloc.hb @@ -13,7 +13,7 @@ BlockAlloc := struct { return .(0, null) } - $alloc := fn(self: Self, alloc_type: type, count: uint): alloc_return.AllocReturn { + alloc := fn(self: Self, alloc_type: type, count: uint): alloc_return.AllocReturn { offset := 1 a := 1 loop { @@ -35,7 +35,7 @@ BlockAlloc := struct { } } - $dealloc := fn(self: Self, ptr: ^u8, alloc_type: type, count: uint): void { + dealloc := fn(self: Self, ptr: ^u8, alloc_type: type, count: uint): void { // size := size_of(alloc_type)*count size := 64 // get the size alligned to the nearest block