src/ucx/list.h

changeset 277
f819fe5e20f5
parent 259
2f5dea574a75
child 291
deb0035635eb
     1.1 --- a/src/ucx/list.h	Tue Jan 23 19:23:34 2018 +0100
     1.2 +++ b/src/ucx/list.h	Wed May 02 16:14:40 2018 +0200
     1.3 @@ -173,9 +173,11 @@
     1.4   * 
     1.5   * Note, that the contents are not usable afterwards and the list should be
     1.6   * destroyed with ucx_list_free().
     1.7 + *
     1.8 + * If no destructor is specified (<code>NULL</code>), stdlib's free() is used.
     1.9   * 
    1.10   * @param list the list for which the contents shall be freed
    1.11 - * @param destr the destructor function (e.g. stdlib free())
    1.12 + * @param destr optional destructor function
    1.13   * @see ucx_list_free()
    1.14   */
    1.15  void ucx_list_free_content(UcxList* list, ucx_destructor destr);

mercurial