API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.4
since: 2.4
gint g_queue_index ( GQueue* queue, gconstpointer data )
Returns the position of the first element in queue which contains data.
queue
data
Available since: 2.4
Type: gconstpointer
gconstpointer
The data to find.
NULL
Type: gint
gint
The position of the first element in queue which contains data, or -1 if no element in queue contains data.