--- a/docs/Writerside/topics/array_list.h.md Thu May 15 15:43:30 2025 +0200 +++ b/docs/Writerside/topics/array_list.h.md Thu May 15 16:02:54 2025 +0200 @@ -66,7 +66,7 @@ > saves eight bytes (assuming proper alignment in your struct). Once the array is declared, you can use one of the macros `cx_array_initialize()` or `cx_array_initialize_a()` to allocate memory. -The former uses a stdlib default allocator and the latter allows you to use a specific allocator. +The former uses the [default allocator](allocator.h.md#default-allocator) and the latter allows you to use a specific allocator. Important to note is, that the `ARRAY` argument expects the variable's _name_. The macros set `ARRAY_size` to zero, `ARRAY_capacity` to the specified initial capacity, and invoke the allocator's `malloc()` function to allocate the memory. @@ -114,7 +114,7 @@ This is realized by passing a reallocator to the various functions which specifies how an array shall be reallocated when needed. -The default `cx_array_default_reallocator` simply defers to the standard library `realloc()`. +The default `cx_array_default_reallocator` simply defers to the [default allocator](allocator.h.md#default-allocator). A reallocator created with the `cx_array_reallocator()` function uses a more sophisticated approach. On the one hand, it can use an arbitrary UCX [allocator](allocator.h.md) for the reallocation,