aboutsummaryrefslogtreecommitdiff
path: root/core/mem
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-14 20:01:24 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-15 12:34:16 -0400
commitde3c32289974063f6aba63bd1b76082ef9a069ac (patch)
treebaac6c1d5a661953e240b6e6cb55a9e2eabed851 /core/mem
parent652c0c997d0c8ce8cec7520e77677e461a75663e (diff)
mem: Make `dynamic_arena_alloc` not private
None of the other `*_alloc` procs are private, and this proc is even referenced in public documentation comments.
Diffstat (limited to 'core/mem')
-rw-r--r--core/mem/allocators.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mem/allocators.odin b/core/mem/allocators.odin
index 66c7a72bb..6f000a793 100644
--- a/core/mem/allocators.odin
+++ b/core/mem/allocators.odin
@@ -1750,7 +1750,7 @@ by `alignment` from a dynamic arena `a`. The allocated memory is
zero-initialized. This procedure returns a pointer to the newly allocated memory
region.
*/
-@(private, require_results)
+@(require_results)
dynamic_arena_alloc :: proc(a: ^Dynamic_Arena, size: int, loc := #caller_location) -> (rawptr, Allocator_Error) {
data, err := dynamic_arena_alloc_bytes(a, size, loc)
return raw_data(data), err