1.1 --- a/src/cx/array_list.h Thu Jan 25 22:01:12 2024 +0100 1.2 +++ b/src/cx/array_list.h Thu Jan 25 22:05:48 2024 +0100 1.3 @@ -99,12 +99,12 @@ 1.4 extern struct cx_array_reallocator_s *cx_array_default_reallocator; 1.5 1.6 /** 1.7 - * Return codes for cx_array_copy(). 1.8 + * Return codes for array functions. 1.9 */ 1.10 -enum cx_array_copy_result { 1.11 - CX_ARRAY_COPY_SUCCESS, 1.12 - CX_ARRAY_COPY_REALLOC_NOT_SUPPORTED, 1.13 - CX_ARRAY_COPY_REALLOC_FAILED, 1.14 +enum cx_array_result { 1.15 + CX_ARRAY_SUCCESS, 1.16 + CX_ARRAY_REALLOC_NOT_SUPPORTED, 1.17 + CX_ARRAY_REALLOC_FAILED, 1.18 }; 1.19 1.20 /** 1.21 @@ -132,7 +132,7 @@ 1.22 * if re-allocation shall not happen 1.23 * @return zero on success, non-zero error code on failure 1.24 */ 1.25 -enum cx_array_copy_result cx_array_copy( 1.26 +enum cx_array_result cx_array_copy( 1.27 void **target, 1.28 size_t *size, 1.29 size_t *capacity,