# HG changeset patch # User Mike Becker # Date 1766072585 -3600 # Node ID 592aae4912649a0a43bfce5d4d72f1379d7c91db # Parent 27e7a4bf1a3969f24e483c43a4b12334fecdf8de fix nonnull attribute for cx_array_insert_sorted_c_() - relates to #622 diff -r 27e7a4bf1a39 -r 592aae491264 src/cx/array_list.h --- a/src/cx/array_list.h Thu Dec 18 14:53:16 2025 +0100 +++ b/src/cx/array_list.h Thu Dec 18 16:43:05 2025 +0100 @@ -561,7 +561,7 @@ * @retval zero success * @retval non-zero a re-allocation was necessary but failed */ -cx_attr_nonnull +cx_attr_nonnull_arg(1, 2, 4, 6) CX_EXPORT int cx_array_insert_sorted_c_(const CxAllocator *allocator, CxArray *array, size_t elem_size, const void *sorted_data, size_t n, cx_compare_func2 cmp_func, void *context, bool allow_duplicates);