Allow to specify the wrap size in allocation

This commit is contained in:
Andrea Mazzoleni 2026-06-06 09:48:29 +02:00
parent e0f7f9fa6f
commit a457795e7c
3 changed files with 8 additions and 8 deletions

View file

@ -89,7 +89,7 @@ void **raid_malloc_vector(int n, size_t size, void **freeptr);
/**
* Arbitrary aligned vector allocation.
*/
void **raid_malloc_vector_align(int n, size_t size, size_t align_size, ssize_t displacement_size, void **freeptr);
void **raid_malloc_vector_align(int n, size_t size, size_t align_size, ssize_t displacement_size, ssize_t wrap_size, void **freeptr);
/**
* Fills the memory vector with pseudo-random data based on the specified seed.