mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01: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:
|
||||
* @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().
|
||||
*/
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user