diff -r 87eb4bdb2d0e -r 1caed6c9ba68 src/cx/list.h --- a/src/cx/list.h Sun May 21 14:40:05 2023 +0200 +++ b/src/cx/list.h Sun May 21 14:56:10 2023 +0200 @@ -70,6 +70,9 @@ struct cx_list_class_s { /** * Destructor function. + * + * Implementations SHALL invoke the content destructor functions if provided + * and SHALL deallocate the list memory, if an allocator is provided. */ void (*destructor)(struct cx_list_s *list);