src/cx/linked_list.h

changeset 1692
56731bb98508
parent 1675
36c0fb2b60b2
--- a/src/cx/linked_list.h	Wed Dec 31 14:58:52 2025 +0100
+++ b/src/cx/linked_list.h	Wed Dec 31 15:11:12 2025 +0100
@@ -443,6 +443,7 @@
  * @param loc_next the location of a @c next pointer within your node struct (required)
  * @param new_node a pointer to the node that shall be inserted
  * @param cmp_func a compare function that will receive the node pointers
+ * @param context the context for the compare function
  * @retval zero when the node was inserted
  * @retval non-zero when a node with the same value already exists
  */
@@ -591,6 +592,7 @@
  * @param loc_advance the location of the pointer to advance
  * @param loc_data the location of the @c data pointer within your node struct
  * @param cmp_func the function to compare the elements
+ * @param context the context for the compare function
  * @return the first non-zero result of invoking @p cmp_func or: negative if the left list is smaller than the
  * right list, positive if the left list is larger than the right list, zero if both lists are equal.
  */

mercurial