summaryrefslogtreecommitdiffstats
path: root/tests/util.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-23 13:08:04 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-23 13:56:03 -0500
commitae18c20d5a585ae4bc1e9ee6859230fee7f73ed8 (patch)
tree9b83e03091def0002360327a102080e1fd69e6a7 /tests/util.sh
parentf9f43fe44f4a013aac94d5787cf827ec04b4c861 (diff)
downloadbfs-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 'tests/util.sh')
0 files changed, 0 insertions, 0 deletions