ListSG.foreach_

Calls a function for each element of a GSList

It is safe for func to remove the element from list, but it must not modify any part of the list after that element.

class ListSG
void
foreach_

Parameters

func GFunc

the function to call with each element's data

userData void*

user data to pass to the function