fixed name of ucx_list_free_content()

Thu, 22 Oct 2015 11:35:40 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 22 Oct 2015 11:35:40 +0200
changeset 212
c766c423dee6
parent 211
07a284486fa1
child 213
fa8b745be7b5

fixed name of ucx_list_free_content()

test/list_tests.c file | annotate | diff | comparison | revisions
ucx/list.c file | annotate | diff | comparison | revisions
ucx/list.h file | annotate | diff | comparison | revisions
     1.1 --- a/test/list_tests.c	Wed Oct 21 16:32:30 2015 +0200
     1.2 +++ b/test/list_tests.c	Thu Oct 22 11:35:40 2015 +0200
     1.3 @@ -341,7 +341,7 @@
     1.4  
     1.5      UCX_TEST_END
     1.6      
     1.7 -    ucx_list_free_contents(copy, free);
     1.8 +    ucx_list_free_content(copy, free);
     1.9  
    1.10      free(world);
    1.11      free(hello);
     2.1 --- a/ucx/list.c	Wed Oct 21 16:32:30 2015 +0200
     2.2 +++ b/ucx/list.c	Thu Oct 22 11:35:40 2015 +0200
     2.3 @@ -76,7 +76,7 @@
     2.4      }
     2.5  }
     2.6  
     2.7 -void ucx_list_free_contents(UcxList* list, ucx_destructor destr) {
     2.8 +void ucx_list_free_content(UcxList* list, ucx_destructor destr) {
     2.9      while (list != NULL) {
    2.10          destr(list->data);
    2.11          list = list->next;
     3.1 --- a/ucx/list.h	Wed Oct 21 16:32:30 2015 +0200
     3.2 +++ b/ucx/list.h	Thu Oct 22 11:35:40 2015 +0200
     3.3 @@ -179,7 +179,7 @@
     3.4   * @param destr the destructor function (e.g. stdlib free())
     3.5   * @see ucx_list_free()
     3.6   */
     3.7 -void ucx_list_free_contents(UcxList* list, ucx_destructor destr);
     3.8 +void ucx_list_free_content(UcxList* list, ucx_destructor destr);
     3.9  
    3.10  
    3.11  /**

mercurial