Method

GLibQueuepeek_nth

Declaration

gpointer
g_queue_peek_nth (
  GQueue* queue,
  guint n
)

Description

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 data is owned by the instance.
The return value can be NULL.