# HG changeset patch # User Mike Becker # Date 1668706199 -3600 # Node ID 820ee59121b4849b55ede237f91f45c5e1e1ab6c # Parent 77efa5163ae55493fa76b91ec9945cb923bd9629 fix typo in enum cx_array_copy_result diff -r 77efa5163ae5 -r 820ee59121b4 src/array_list.c --- 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, diff -r 77efa5163ae5 -r 820ee59121b4 src/cx/array_list.h --- 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,