Thu, 17 Nov 2022 18:29:59 +0100
fix typo in enum cx_array_copy_result
src/array_list.c | file | annotate | diff | comparison | revisions | |
src/cx/array_list.h | file | annotate | diff | comparison | revisions |
--- a/src/array_list.c Thu Nov 17 18:25:40 2022 +0100 +++ b/src/array_list.c Thu Nov 17 18:29:59 2022 +0100 @@ -33,7 +33,7 @@ /* LOW LEVEL ARRAY LIST FUNCTIONS */ -enum cx_array_coppy_result cx_array_copy( +enum cx_array_copy_result cx_array_copy( void **target, size_t *size, size_t *capacity,
--- a/src/cx/array_list.h Thu Nov 17 18:25:40 2022 +0100 +++ b/src/cx/array_list.h Thu Nov 17 18:29:59 2022 +0100 @@ -91,7 +91,7 @@ /** * Return codes for cx_array_copy(). */ -enum cx_array_coppy_result { +enum cx_array_copy_result { CX_ARRAY_COPY_SUCCESS, CX_ARRAY_COPY_REALLOC_NOT_SUPPORTED, CX_ARRAY_COPY_REALLOC_FAILED, @@ -121,7 +121,7 @@ * if re-allocation shall not happen * @return zero on success, non-zero error code on failure */ -enum cx_array_coppy_result cx_array_copy( +enum cx_array_copy_result cx_array_copy( void **target, size_t *size, size_t *capacity,