src/cx/list.h

changeset 505
03e9151bea32
parent 504
aaf89ce0cbf6
child 508
8aea65ae1eaf
equal deleted inserted replaced
504:aaf89ce0cbf6 505:03e9151bea32
191 * Common type for all list implementations. 191 * Common type for all list implementations.
192 */ 192 */
193 typedef struct cx_list_s CxList; 193 typedef struct cx_list_s CxList;
194 194
195 /** 195 /**
196 * Convenience function to configure the memory management for this a list. 196 * Convenience function to configure the memory management for this list.
197 *
197 * @param list the list to configure 198 * @param list the list to configure
198 * @param list_destructor an alternative list destructor to use (if \c NULL, the current destructor remains unchanged) 199 * @param list_destructor an alternative list destructor to use (if \c NULL, the current destructor remains unchanged)
199 * @param content_destructor the content destructor to use (if \c NULL, no content destructor is used) 200 * @param content_destructor the content destructor to use (if \c NULL, no content destructor is used)
200 * @param list_autofree a flag indicating, if the list allocator shall free the list, if the destructor did not do that 201 * @param list_autofree a flag indicating, if the list allocator shall free the list, if the destructor did not do that
201 * @param content_autofree a flag indicating, if the list allocator shall free an element, 202 * @param content_autofree a flag indicating, if the list allocator shall free an element,

mercurial