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
--- a/test/list_tests.c	Wed Oct 21 16:32:30 2015 +0200
+++ b/test/list_tests.c	Thu Oct 22 11:35:40 2015 +0200
@@ -341,7 +341,7 @@
 
     UCX_TEST_END
     
-    ucx_list_free_contents(copy, free);
+    ucx_list_free_content(copy, free);
 
     free(world);
     free(hello);
--- a/ucx/list.c	Wed Oct 21 16:32:30 2015 +0200
+++ b/ucx/list.c	Thu Oct 22 11:35:40 2015 +0200
@@ -76,7 +76,7 @@
     }
 }
 
-void ucx_list_free_contents(UcxList* list, ucx_destructor destr) {
+void ucx_list_free_content(UcxList* list, ucx_destructor destr) {
     while (list != NULL) {
         destr(list->data);
         list = list->next;
--- a/ucx/list.h	Wed Oct 21 16:32:30 2015 +0200
+++ b/ucx/list.h	Thu Oct 22 11:35:40 2015 +0200
@@ -179,7 +179,7 @@
  * @param destr the destructor function (e.g. stdlib free())
  * @see ucx_list_free()
  */
-void ucx_list_free_contents(UcxList* list, ucx_destructor destr);
+void ucx_list_free_content(UcxList* list, ucx_destructor destr);
 
 
 /**

mercurial