Browse Source

Add missing attribute

gingerBill 1 year ago
parent
commit
65277ddd6b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/mem/allocators.odin

+ 1 - 0
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,