# HG changeset patch # User Mike Becker # Date 1757789756 -7200 # Node ID 4dceda670b05800e66a362933a738e4c267c0e0a # Parent a6aaa77b68096dffa387c07c30a638ec21113185 fix documentation of return value of cx_linked_list_find() diff -r a6aaa77b6809 -r 4dceda670b05 src/cx/linked_list.h --- a/src/cx/linked_list.h Fri Sep 12 16:56:04 2025 +0200 +++ b/src/cx/linked_list.h Sat Sep 13 20:55:56 2025 +0200 @@ -154,7 +154,7 @@ * @param elem a pointer to the element to find * @param found_index an optional pointer where the index of the found node * (given that @p start has index 0) is stored - * @return the index of the element, if found - unspecified if not found + * @return a pointer to the found node or @c NULL if no matching node was found */ cx_attr_nonnull_arg(1, 4, 5) cx_attr_export