src/cx/list.h

changeset 1341
dc88d2ece7e4
parent 1316
c41538edfcef
--- a/src/cx/list.h	Fri Aug 15 17:46:47 2025 +0200
+++ b/src/cx/list.h	Sun Aug 17 23:05:16 2025 +0200
@@ -81,7 +81,7 @@
     /**
      * Member function for inserting a single element.
      * The data pointer may be @c NULL in which case the function shall only allocate memory.
-     * Returns a pointer to the data of the inserted element.
+     * Returns a pointer to the allocated memory or @c NULL if allocation fails.
      */
     void *(*insert_element)(
             struct cx_list_s *list,

mercurial