fix typo in enum cx_array_copy_result

Thu, 17 Nov 2022 18:29:59 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 17 Nov 2022 18:29:59 +0100
changeset 612
820ee59121b4
parent 611
77efa5163ae5
child 613
85c08391a090

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,

mercurial