IteratorNextFunction


Description:

[ CCode ( has_target = false ) ]
public delegate IteratorResult IteratorNextFunction (Iterator it, ref Value result)

The function that will be called when the next element of the iterator should be retrieved.

Implementors of a Iterator should implement this function and pass it to the constructor of the custom iterator. The function will be called with the iterator lock held.

Parameters:

it

the iterator

result

a pointer to hold the next item

Returns:

the result of the operation.


Namespace: Gst
Package: gstreamer-1.0



2022 vala-language.org