summaryrefslogtreecommitdiffstats
path: root/include/zix/allocator.h
AgeCommit message (Collapse)AuthorFilesLines
40 hoursUpdate clang-format configurationDavid Robillard1-10/+5
2024-06-22Add ZIX_NODISCARD attribute to allocating, accessor, and pure APIDavid Robillard1-0/+1
2024-06-22Consistently use ZIX_MALLOC_API and ZIX_MALLOC_FUNCDavid Robillard1-0/+3
2023-09-21Remove unnecessary includes and forward declarationsDavid Robillard1-2/+0
According to include-what-you-use 0.20 (7301b1f) based on clang 16.0.6.
2022-12-19Make allocator methods null-unspecifiedDavid Robillard1-6/+6
The required methods depend on the context (for example, a function might only need aligned_alloc and aligned_free), so unfortunately the nullability requirements can't be encoded in the type here.
2022-11-17Improve documentationDavid Robillard1-1/+1
2022-10-23Split reference documentation up into groups and add global headerDavid Robillard1-1/+1
The "global" header just provides a convenient place to define the group structure of the library. Applications are better off using the individual headers, but this one will work fine if you don't care about build times or precise dependencies.
2022-10-23Add missing documentationDavid Robillard1-6/+6
2022-10-21Factor out public declaration scope markersDavid Robillard1-6/+2
2022-10-20Fix doc commentsDavid Robillard1-5/+3
2021-09-15Add redundant forward declaration to appease clang-tidyDavid Robillard1-0/+2
2021-09-14Add aligned allocation interface and use it in ZixBTreeDavid Robillard1-8/+54
2021-09-14Fix whitespace in allocator function type definitionsDavid Robillard1-12/+14
2021-09-14Make ZixAllocator a single flat structDavid Robillard1-45/+42
I can never decide between these two patterns for polymorphic objects in C, but this one seems more appropriate here since it's more conducive to inheritance.
2021-09-10Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-09-10Add custom allocator supportDavid Robillard1-0/+152