From 65277ddd6b390d3ff8d7dfa40386591e221ee793 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 6 Mar 2024 16:30:39 +0000 Subject: [PATCH] Add missing attribute --- core/mem/allocators.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/mem/allocators.odin b/core/mem/allocators.odin index 25e352204..eba79eacf 100644 --- a/core/mem/allocators.odin +++ b/core/mem/allocators.odin @@ -1007,6 +1007,7 @@ Buddy_Allocator :: struct { alignment: uint, } +@(require_results) buddy_allocator :: proc(b: ^Buddy_Allocator) -> Allocator { return Allocator{ procedure = buddy_allocator_proc,