Method

GLibQueuepeek_nth

since: 2.4

Declaration [src]

gpointer
g_queue_peek_nth (
  GQueue* queue,
  guint n
)

Description [src]

Returns the nth element of queue.

Available since: 2.4

Parameters

n

Type: guint

The position of the element.

Return value

Type: gpointer

The data for the nth element of queue, or NULL if n is off the end of queue.

The returned data is owned by the instance.
The return value can be NULL.