mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-06 02:37:00 +02:00
glist: Clarify how g_list_free_1() handles links
It doesn’t, which is fine, but could be unexpected if undocumented. https://bugzilla.gnome.org/show_bug.cgi?id=741779
This commit is contained in:
parent
59748c3be0
commit
c6312daba0
@ -186,7 +186,10 @@ g_list_free (GList *list)
|
|||||||
* g_list_free_1:
|
* g_list_free_1:
|
||||||
* @list: a #GList element
|
* @list: a #GList element
|
||||||
*
|
*
|
||||||
* Frees one #GList element.
|
* Frees one #GList element, but does not update links from the next and
|
||||||
|
* previous elements in the list, so you should not call this function on an
|
||||||
|
* element that is currently part of a list.
|
||||||
|
*
|
||||||
* It is usually used after g_list_remove_link().
|
* It is usually used after g_list_remove_link().
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user