diff --git a/sysdata/libraries/stn/src/alloc/block_alloc.hb b/sysdata/libraries/stn/src/alloc/block_alloc.hb index 0477b0f5..b0917bd5 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