ListG.foreac

Calls a function for each element of a #GList.

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 ListG
void
foreac
(
GFunc func
,
void* userData
)

Parameters

func GFunc

the function to call with each element's data

userData void*

user data to pass to the function

Meta