QueueG.foreach_

Calls func for each element in the queue passing user_data to the function.

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

class QueueG
void
foreach_

Parameters

func GFunc

the function to call for each element's data

userData void*

user data to pass to func

Meta