Method
GLibQueuepush_nth
since: 2.4
Declaration [src]
void
g_queue_push_nth (
GQueue* queue,
gpointer data,
gint n
)
Parameters
data
-
Type:
gpointer
The data for the new element.
The argument can be NULL
.The data is owned by the caller of the method. n
-
Type:
gint
The position to insert the new element. If
n
is negative or larger than the number of elements in thequeue
, the element is added to the end of the queue.