Add require_results attr to procs returning an allocator

This commit is contained in:
Damian Tarnawski
2025-09-02 13:03:15 +02:00
parent 7e3e15aee6
commit 21fd7c200e
6 changed files with 8 additions and 1 deletions
@@ -70,7 +70,7 @@ DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD :: #force_inline proc(ignore := false, loc :=
}
}
@(require_results)
default_temp_allocator :: proc(allocator: ^Default_Temp_Allocator) -> Allocator {
return Allocator{
procedure = default_temp_allocator_proc,