diff -r 949908c97474 -r 2be8fe3d5a2d src/array_list.c --- a/src/array_list.c Wed Jan 24 22:19:05 2024 +0100 +++ b/src/array_list.c Thu Jan 25 22:01:12 2024 +0100 @@ -42,10 +42,12 @@ return realloc(array, capacity * elem_size); } -struct cx_array_reallocator_s cx_array_default_reallocator = { +struct cx_array_reallocator_s cx_array_default_reallocator_impl = { cx_array_default_realloc, NULL, NULL, 0, 0 }; +struct cx_array_reallocator_s *cx_array_default_reallocator = &cx_array_default_reallocator_impl; + // LOW LEVEL ARRAY LIST FUNCTIONS enum cx_array_copy_result cx_array_copy(