68 * The class definition for arbitrary lists. |
68 * The class definition for arbitrary lists. |
69 */ |
69 */ |
70 struct cx_list_class_s { |
70 struct cx_list_class_s { |
71 /** |
71 /** |
72 * Destructor function. |
72 * Destructor function. |
|
73 * |
|
74 * Implementations SHALL invoke the content destructor functions if provided |
|
75 * and SHALL deallocate the list memory, if an allocator is provided. |
73 */ |
76 */ |
74 void (*destructor)(struct cx_list_s *list); |
77 void (*destructor)(struct cx_list_s *list); |
75 |
78 |
76 /** |
79 /** |
77 * Member function for inserting a single elements. |
80 * Member function for inserting a single elements. |