src/cx/linked_list.h

changeset 629
6c81ee4f11ad
parent 628
1e2be40f0cb5
child 639
309e8b08c60e
     1.1 --- a/src/cx/linked_list.h	Sun Nov 20 21:08:36 2022 +0100
     1.2 +++ b/src/cx/linked_list.h	Wed Nov 23 22:40:55 2022 +0100
     1.3 @@ -80,27 +80,6 @@
     1.4  ) __attribute__((__nonnull__));
     1.5  
     1.6  /**
     1.7 - * Creates a linked list using the data from an array.
     1.8 - *
     1.9 - * @remark Elements added to the list are copied, therefore a possible destructor
    1.10 - * MUST NOT free the memory pointed to by its argument.
    1.11 - *
    1.12 - * @param allocator the allocator for allocating the list nodes
    1.13 - * @param comparator the comparator for the elements
    1.14 - * @param item_size the size of one item in the array
    1.15 - * @param num_items the number of items
    1.16 - * @param array the array data
    1.17 - * @return the created list
    1.18 - */
    1.19 -CxList *cxLinkedListFromArray(
    1.20 -        CxAllocator const *allocator,
    1.21 -        CxListComparator comparator,
    1.22 -        size_t item_size,
    1.23 -        size_t num_items,
    1.24 -        void const *array
    1.25 -) __attribute__((__nonnull__));
    1.26 -
    1.27 -/**
    1.28   * Finds the node at a certain index.
    1.29   *
    1.30   * This function can be used to start at an arbitrary position within the list.

mercurial