mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Add comment state to prefer virtual.Arena over runtime.Arena
This commit is contained in:
@@ -12,6 +12,7 @@ Memory_Block :: struct {
|
|||||||
capacity: uint,
|
capacity: uint,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: This is for internal use, prefer `Arena` from `core:mem/virtual` if necessary
|
||||||
Arena :: struct {
|
Arena :: struct {
|
||||||
backing_allocator: Allocator,
|
backing_allocator: Allocator,
|
||||||
curr_block: ^Memory_Block,
|
curr_block: ^Memory_Block,
|
||||||
|
|||||||
Reference in New Issue
Block a user