GNOME Bugzilla – Bug 724383
glib: document restrictions on various foreach() functions
Last modified: 2017-11-16 11:15:00 UTC
this came up in an NM code review so I figured it should be more explicit...
Created attachment 269147 [details] [review] glib: document restrictions on various foreach() functions Some foreach() functions allow you to modify the object they are iterating, and others don't, but the docs were not generally clear about this.
Created attachment 273905 [details] [review] glib: document restrictions on various foreach() functions ---- oops, fix the parts that weren't true. (It's actually not safe for the g_list_free_full() / g_slist_free_full() callback to remove items from the list).
Review of attachment 273905 [details] [review]: ++
Attachment 273905 [details] pushed as 42d3ed0 - glib: document restrictions on various foreach() functions