summaryrefslogtreecommitdiffstats
path: root/include/zix/bump_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/bump_allocator.h')
-rw-r--r--include/zix/bump_allocator.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/zix/bump_allocator.h b/include/zix/bump_allocator.h
index bec45c8..c054207 100644
--- a/include/zix/bump_allocator.h
+++ b/include/zix/bump_allocator.h
@@ -10,6 +10,12 @@
#include <stddef.h>
/**
+ @defgroup bump_allocator Bump Allocator
+ @ingroup zix_allocation
+ @{
+*/
+
+/**
A simple bump-pointer allocator that never frees.
This is about the simplest possible allocator that is useful in practice.
@@ -50,4 +56,8 @@ ZIX_API
ZixBumpAllocator
zix_bump_allocator(size_t capacity, void* ZIX_NONNULL buffer);
+/**
+ @}
+*/
+
#endif // ZIX_BUMP_ALLOCATOR_H