From 03e9e1708eada3985529949302f214a223a297c2 Mon Sep 17 00:00:00 2001 From: A404M Date: Mon, 9 Jun 2025 17:50:46 +0330 Subject: fix bug in shape shifter matching --- code/lib/memory.felan | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/lib/memory.felan') diff --git a/code/lib/memory.felan b/code/lib/memory.felan index 7715d0e..55451c5 100644 --- a/code/lib/memory.felan +++ b/code/lib/memory.felan @@ -8,6 +8,6 @@ malloc :: (size:i64,comptime t:type) -> (*t) { return @cast(malloc(size*@cast(@size_of(t),i64)),*t); }; -free :: (a:*anytype) -> void { - free(@cast(a,*void)); +free :: (ptr:*anytype) -> void { + free(@cast(ptr,*void)); }; -- cgit v1.2.3