fix documentation

Tue, 17 Sep 2024 23:32:27 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 17 Sep 2024 23:32:27 +0200
changeset 887
e5181fe13b9c
parent 886
5f5514bb104b
child 888
6f44b1f1275c

fix documentation

relates to #424

src/cx/array_list.h file | annotate | diff | comparison | revisions
--- a/src/cx/array_list.h	Tue Sep 17 23:29:12 2024 +0200
+++ b/src/cx/array_list.h	Tue Sep 17 23:32:27 2024 +0200
@@ -313,7 +313,7 @@
  * @param elem_size the size of one element
  * @param elem the element to find
  * @param cmp_func the compare function
- * @return the index of the largest upper bound, or \p size
+ * @return the index of the largest lower bound, or \p size
  */
 size_t cx_array_binary_search_inf(
         void const *arr,
@@ -373,7 +373,7 @@
  * @param elem_size the size of one element
  * @param elem the element to find
  * @param cmp_func the compare function
- * @return the index of the largest upper bound, or \p size
+ * @return the index of the smallest upper bound, or \p size
  */
 __attribute__((__nonnull__))
 static inline size_t cx_array_binary_search_sup(

mercurial