mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Bug 158725 - free linked list with data
Add some helpers for freeing a linked list along with its elements by providing a GDestroyNotify to call on each of them. Add a test. Based on a patch from Cosimo Cecchi.
This commit is contained in:
@@ -1992,6 +1992,7 @@ g_list_remove_link
|
||||
g_list_delete_link
|
||||
g_list_remove_all
|
||||
g_list_free
|
||||
g_list_free_full
|
||||
|
||||
<SUBSECTION>
|
||||
g_list_alloc
|
||||
@@ -2048,6 +2049,7 @@ g_slist_remove_link
|
||||
g_slist_delete_link
|
||||
g_slist_remove_all
|
||||
g_slist_free
|
||||
g_slist_free_full
|
||||
g_slist_free_1
|
||||
g_slist_free1
|
||||
|
||||
|
Reference in New Issue
Block a user