src/ucx/cx/linked_list.h

changeset 438
22eca559aded
parent 415
d938228c382e
child 490
d218607f5a7e
--- a/src/ucx/cx/linked_list.h	Sun Nov 20 12:43:44 2022 +0100
+++ b/src/ucx/cx/linked_list.h	Sat Nov 26 17:07:08 2022 +0100
@@ -80,27 +80,6 @@
 ) __attribute__((__nonnull__));
 
 /**
- * Creates a linked list using the data from an array.
- *
- * @remark Elements added to the list are copied, therefore a possible destructor
- * MUST NOT free the memory pointed to by its argument.
- *
- * @param allocator the allocator for allocating the list nodes
- * @param comparator the comparator for the elements
- * @param item_size the size of one item in the array
- * @param num_items the number of items
- * @param array the array data
- * @return the created list
- */
-CxList *cxLinkedListFromArray(
-        CxAllocator const *allocator,
-        CxListComparator comparator,
-        size_t item_size,
-        size_t num_items,
-        void const *array
-) __attribute__((__nonnull__));
-
-/**
  * Finds the node at a certain index.
  *
  * This function can be used to start at an arbitrary position within the list.
@@ -444,7 +423,7 @@
 ) __attribute__((__nonnull__(1)));
 
 #ifdef __cplusplus
-} /* extern "C" */
+} // extern "C"
 #endif
 
-#endif /* UCX_LINKED_LIST_H */
+#endif // UCX_LINKED_LIST_H

mercurial