fix wrong doc in cxListFind()

Sat, 22 Apr 2023 14:09:46 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 22 Apr 2023 14:09:46 +0200
changeset 698
7345ee0a0301
parent 697
ebdce4bf262b
child 699
35b2b99ee523

fix wrong doc in cxListFind()

src/cx/list.h file | annotate | diff | comparison | revisions
--- a/src/cx/list.h	Sat Apr 22 13:06:18 2023 +0200
+++ b/src/cx/list.h	Sat Apr 22 14:09:46 2023 +0200
@@ -569,7 +569,7 @@
  *
  * @param list the list
  * @param elem the element to find
- * @return the index of the element or \c (size+1) if the element is not found
+ * @return the index of the element or \c size if the element is not found
  */
 __attribute__((__nonnull__))
 static inline size_t cxListFind(

mercurial