bind9/lib/isc/include
Ondřej Surý aeb3d1cab3 Add isc_mem_reget() function to realloc isc_mem_get allocations
The isc_mem_get() and isc_mem_put() functions are leaving the memory
allocation size tracking to the users of the API, while
isc_mem_allocate() and isc_mem_free() would track the sizes internally.
This allowed to have isc_mem_rellocate() to manipulate the memory
allocations by the later set, but not the former set of the functions.

This commit introduces isc_mem_reget(ctx, old_ptr, old_size, new_size)
function that operates on the memory allocations with external size
tracking completing the API.
2021-09-23 11:18:07 -07:00
..
isc Add isc_mem_reget() function to realloc isc_mem_get allocations 2021-09-23 11:18:07 -07:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00