diff options
Diffstat (limited to 'include/zix/bump_allocator.h')
-rw-r--r-- | include/zix/bump_allocator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zix/bump_allocator.h b/include/zix/bump_allocator.h index 712ea46..bec45c8 100644 --- a/include/zix/bump_allocator.h +++ b/include/zix/bump_allocator.h @@ -45,6 +45,7 @@ typedef struct { size_t capacity; ///< Size of buffer in bytes (the maximum top) } ZixBumpAllocator; +/// Return a bump allocator that works within a provided buffer ZIX_API ZixBumpAllocator zix_bump_allocator(size_t capacity, void* ZIX_NONNULL buffer); |