src/cx/linked_list.h

changeset 503
a89857072ace
parent 500
eb9e7bd40a8e
child 508
8aea65ae1eaf
equal deleted inserted replaced
502:33e7b6ebf403 503:a89857072ace
92 size_t num_items, 92 size_t num_items,
93 void const *array 93 void const *array
94 ) __attribute__((__nonnull__)); 94 ) __attribute__((__nonnull__));
95 95
96 /** 96 /**
97 * Deallocates the memory of the entire list.
98 *
99 * \attention If this is a pointer list, the memory the pointers are referring to is \em not freed.
100 *
101 * @param list the list
102 */
103 void cxLinkedListDestroy(CxList *list) __attribute__((__nonnull__));
104
105 /**
106 * Finds the node at a certain index. 97 * Finds the node at a certain index.
107 * 98 *
108 * This function can be used to start at an arbitrary position within the list. 99 * This function can be used to start at an arbitrary position within the list.
109 * If the search index is large than the start index, \p loc_advance must denote 100 * If the search index is large than the start index, \p loc_advance must denote
110 * the location of some sort of \c next pointer (i.e. a pointer to the next node). 101 * the location of some sort of \c next pointer (i.e. a pointer to the next node).

mercurial