mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-13 06:41:26 -07:00
@@ -129,7 +129,7 @@ arena_alloc :: proc(arena: ^Arena, size, alignment: uint, loc := #caller_locatio
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// `arena_init` will initialize the arena with a usuable block.
|
// `arena_init` will initialize the arena with a usable block.
|
||||||
// This procedure is not necessary to use the Arena as the default zero as `arena_alloc` will set things up if necessary
|
// This procedure is not necessary to use the Arena as the default zero as `arena_alloc` will set things up if necessary
|
||||||
@(require_results)
|
@(require_results)
|
||||||
arena_init :: proc(arena: ^Arena, size: uint, backing_allocator: Allocator, loc := #caller_location) -> Allocator_Error {
|
arena_init :: proc(arena: ^Arena, size: uint, backing_allocator: Allocator, loc := #caller_location) -> Allocator_Error {
|
||||||
|
|||||||
Reference in New Issue
Block a user