From 6a182f6da1afda96de93467aa15827cefdad40af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Oct 2022 12:17:22 -0400 Subject: Add missing documentation --- include/zix/allocator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/zix/allocator.h') diff --git a/include/zix/allocator.h b/include/zix/allocator.h index 26db6d3..34ee091 100644 --- a/include/zix/allocator.h +++ b/include/zix/allocator.h @@ -96,12 +96,12 @@ typedef void (*ZixAlignedFreeFunc)( // /// Definition of ZixAllocator struct ZixAllocatorImpl { - ZixMallocFunc ZIX_NONNULL malloc; - ZixCallocFunc ZIX_NONNULL calloc; - ZixReallocFunc ZIX_NONNULL realloc; - ZixFreeFunc ZIX_NONNULL free; - ZixAlignedAllocFunc ZIX_NONNULL aligned_alloc; - ZixAlignedFreeFunc ZIX_NONNULL aligned_free; + ZixMallocFunc ZIX_NONNULL malloc; ///< Allocate + ZixCallocFunc ZIX_NONNULL calloc; ///< Allocate and zero + ZixReallocFunc ZIX_NONNULL realloc; ///< Reallocate + ZixFreeFunc ZIX_NONNULL free; ///< Free + ZixAlignedAllocFunc ZIX_NONNULL aligned_alloc; ///< Allocate aligned + ZixAlignedFreeFunc ZIX_NONNULL aligned_free; ///< Free aligned }; /// Return the default allocator which simply uses the system allocator -- cgit v1.2.1