Method

GLibQueuepeek_tail

Declaration

gpointer
g_queue_peek_tail (
  GQueue* queue
)

Description

Returns the last element of the queue.

Return value

Type: gpointer

The data of the last element in the queue, or NULL if the queue is empty.

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