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, |