Iterator.findCustom

Find the first element in it that matches the compare function func. func should return 0 when the element is found. The iterator will not be freed. This function will return NULL if an error or resync happened to the iterator.

class Iterator
void*
findCustom

Parameters

func GCompareFunc

the compare function to use

userData void*

user data passed to the compare function

Return Value

Type: void*

The element in the iterator that matches the compare function or NULL when no element matched. MT safe.

Meta