diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-23 13:08:04 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-11-23 13:56:03 -0500 |
commit | ae18c20d5a585ae4bc1e9ee6859230fee7f73ed8 (patch) | |
tree | 9b83e03091def0002360327a102080e1fd69e6a7 /src/bftw.h | |
parent | f9f43fe44f4a013aac94d5787cf827ec04b4c861 (diff) | |
download | bfs-ae18c20d5a585ae4bc1e9ee6859230fee7f73ed8.tar.xz |
alloc: New helpers for aligned reallocation
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().
Diffstat (limited to 'src/bftw.h')
0 files changed, 0 insertions, 0 deletions