summaryrefslogtreecommitdiffstats
path: root/src/alloc.h
Commit message (Collapse)AuthorAgeFilesLines
* alloc: Add attr(nodiscard) to a few functionsTavian Barnes2023-12-201-0/+4
|
* config: New variadic attr(...) macroTavian Barnes2023-12-181-6/+4
|
* alloc: New helpers for growing dynamic arraysTavian Barnes2023-11-231-0/+36
|
* alloc: New helpers for aligned reallocationTavian Barnes2023-11-231-0/+24
| | | | | | There is no aligned_realloc(), so the new xrealloc() function emulates it by manually reallocating and copying for over-aligned types. The new REALLOC_ARRAY() and REALLOC_FLEX() macros wrap xrealloc().
* alloc: New is_aligned() helperTavian Barnes2023-11-231-0/+5
|
* config: Add (de)allocator attributesTavian Barnes2023-11-091-17/+23
|
* alloc: Test allocation size overflowsTavian Barnes2023-10-061-2/+2
|
* alloc: New varena_grow() functionTavian Barnes2023-08-311-0/+14
|
* alloc: New [v]arena_clear() functionsTavian Barnes2023-08-311-0/+10
|
* alloc: Implement an arena for flexible structsTavian Barnes2023-06-201-0/+92
|
* alloc: Implement an arena allocatorTavian Barnes2023-06-201-0/+44
|
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-0/+149