Method

GLibQueuepeek_head_link

since: 2.4

Declaration

GList*
g_queue_peek_head_link (
  GQueue* queue
)

Description

Returns the first link in queue.

Available since: 2.4

This method is not directly available to language bindings.

Return value

Type: A list of gpointer

The first link in queue, or NULL if queue is empty.

The data is owned by the instance.