src/array_list.c

changeset 818
2be8fe3d5a2d
parent 817
949908c97474
child 819
5da2ead43077
     1.1 --- a/src/array_list.c	Wed Jan 24 22:19:05 2024 +0100
     1.2 +++ b/src/array_list.c	Thu Jan 25 22:01:12 2024 +0100
     1.3 @@ -42,10 +42,12 @@
     1.4      return realloc(array, capacity * elem_size);
     1.5  }
     1.6  
     1.7 -struct cx_array_reallocator_s cx_array_default_reallocator = {
     1.8 +struct cx_array_reallocator_s cx_array_default_reallocator_impl = {
     1.9          cx_array_default_realloc, NULL, NULL, 0, 0
    1.10  };
    1.11  
    1.12 +struct cx_array_reallocator_s *cx_array_default_reallocator = &cx_array_default_reallocator_impl;
    1.13 +
    1.14  // LOW LEVEL ARRAY LIST FUNCTIONS
    1.15  
    1.16  enum cx_array_copy_result cx_array_copy(

mercurial