src/cx/list.h

changeset 739
529c35a768f3
parent 708
1caed6c9ba68
child 741
1210ee2d755f
equal deleted inserted replaced
737:b3b113eac3b8 739:529c35a768f3
75 * and SHALL deallocate the list memory, if an allocator is provided. 75 * and SHALL deallocate the list memory, if an allocator is provided.
76 */ 76 */
77 void (*destructor)(struct cx_list_s *list); 77 void (*destructor)(struct cx_list_s *list);
78 78
79 /** 79 /**
80 * Member function for inserting a single elements. 80 * Member function for inserting a single element.
81 * Implementors SHOULD see to performant implementations for corner cases. 81 * Implementors SHOULD see to performant implementations for corner cases.
82 */ 82 */
83 int (*insert_element)( 83 int (*insert_element)(
84 struct cx_list_s *list, 84 struct cx_list_s *list,
85 size_t index, 85 size_t index,

mercurial