src/cx/array_list.h

changeset 1692
56731bb98508
parent 1675
36c0fb2b60b2
--- a/src/cx/array_list.h	Wed Dec 31 14:58:52 2025 +0100
+++ b/src/cx/array_list.h	Wed Dec 31 15:11:12 2025 +0100
@@ -577,7 +577,7 @@
  * @retval zero success
  * @retval non-zero a re-allocation was necessary but failed
  */
-#define cx_array_insert_sorted_ca(allocator, array, element, cmp_func) \
+#define cx_array_insert_sorted_ca(allocator, array, element, cmp_func, context) \
         cx_array_insert_sorted_c_(allocator, (CxArray*)&(array), sizeof((array).data[0]), (void*)&(element), 1, cmp_func, context, true)
 
 /**
@@ -753,7 +753,6 @@
  *
  * @param array the name of the array
  * @param fn (@c cx_compare_func) the compare function
- * @param context (@c void*) the context for the compare function
  */
 #define cx_array_sort(array, fn) \
         cx_array_sort_((CxArray*)&(array), sizeof((array).data[0]), fn)

mercurial