QueueG.findCustom

Finds an element in a #GQueue, using a supplied function to find the desired element. It iterates over the queue, calling the given function which should return 0 when the desired element is found. The function takes two gconstpointer arguments, the #GQueue element's data as the first argument and the given user data as the second argument.

class QueueG
findCustom

Parameters

data void*

user data passed to @func

func GCompareFunc

a #GCompareFunc to call for each element. It should return 0 when the desired element is found

Return: the found link, or %NULL if it wasn't found

Meta