src/cx/linked_list.h

changeset 669
dce9b8450656
parent 662
d0d95740071b
child 670
4ad8ea3aee49
--- a/src/cx/linked_list.h	Tue Mar 21 17:21:20 2023 +0100
+++ b/src/cx/linked_list.h	Tue Mar 28 19:13:33 2023 +0200
@@ -54,6 +54,9 @@
 /**
  * Allocates a linked list for storing elements with \p item_size bytes each.
  *
+ * If \p item_size is CX_STORE_POINTERS, the created list will be created as if
+ * cxListStorePointers() was called immediately after creation.
+ *
  * @param allocator the allocator for allocating the list nodes
  * @param comparator the comparator for the elements
  * @param item_size the size of each element in bytes
@@ -72,6 +75,9 @@
  * to call functions that need a comparator, you must either set one immediately
  * after list creation or use cxLinkedListCreate().
  *
+ * If \p item_size is CX_STORE_POINTERS, the created list will be created as if
+ * cxListStorePointers() was called immediately after creation.
+ *
  * @param item_size the size of each element in bytes
  * @return the created list
  */

mercurial