Browse Source

Add comment state to prefer `virtual.Arena` over `runtime.Arena`

gingerBill 1 year ago
parent
commit
61826594c9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      base/runtime/default_allocators_arena.odin

+ 1 - 0
base/runtime/default_allocators_arena.odin

@@ -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,