function g_queue_foreach

void g_queue_foreach
                (GQueue        *                q,
                 GFunc                          func,
                 gpointer                       user_data)
Call a function for each element of the queue.

Parameters:

q

The queue.

func

The function to call with each element.

user_data

Additional data to pass to func.