Method

GLibQueuepop_nth_link

since: 2.4

Declaration [src]

GList*
g_queue_pop_nth_link (
  GQueue* queue,
  guint n
)

Description [src]

Removes and returns the link at the given position.

Available since: 2.4

This method is not directly available to language bindings.

Parameters

n

Type: guint

The link’s position.

Return value

Type: A list of gpointer

The nth link, or NULL if n is off the end of queue.

The returned data is owned by the instance.