mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
Merge branch 'list-free-docs' into 'master'
glist: Clarify that g_list_free() and friends only free an entire list See merge request GNOME/glib!1657
This commit is contained in:
commit
53819d8a37
@ -173,7 +173,7 @@ g_list_alloc (void)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_list_free:
|
* g_list_free:
|
||||||
* @list: a #GList
|
* @list: the first link of a #GList
|
||||||
*
|
*
|
||||||
* Frees all of the memory used by a #GList.
|
* Frees all of the memory used by a #GList.
|
||||||
* The freed elements are returned to the slice allocator.
|
* The freed elements are returned to the slice allocator.
|
||||||
@ -217,7 +217,7 @@ g_list_free_1 (GList *list)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_list_free_full:
|
* g_list_free_full:
|
||||||
* @list: a pointer to a #GList
|
* @list: the first link of a #GList
|
||||||
* @free_func: the function to be called to free each element's data
|
* @free_func: the function to be called to free each element's data
|
||||||
*
|
*
|
||||||
* Convenience method, which frees all the memory used by a #GList,
|
* Convenience method, which frees all the memory used by a #GList,
|
||||||
|
@ -127,7 +127,7 @@ g_slist_alloc (void)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_slist_free:
|
* g_slist_free:
|
||||||
* @list: a #GSList
|
* @list: the first link of a #GSList
|
||||||
*
|
*
|
||||||
* Frees all of the memory used by a #GSList.
|
* Frees all of the memory used by a #GSList.
|
||||||
* The freed elements are returned to the slice allocator.
|
* The freed elements are returned to the slice allocator.
|
||||||
@ -171,7 +171,7 @@ g_slist_free_1 (GSList *list)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_slist_free_full:
|
* g_slist_free_full:
|
||||||
* @list: a pointer to a #GSList
|
* @list: the first link of a #GSList
|
||||||
* @free_func: the function to be called to free each element's data
|
* @free_func: the function to be called to free each element's data
|
||||||
*
|
*
|
||||||
* Convenience method, which frees all the memory used by a #GSList, and
|
* Convenience method, which frees all the memory used by a #GSList, and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user