Method

GLibQueuepop_head

Declaration [src]

gpointer
g_queue_pop_head (
  GQueue* queue
)

Description [src]

Removes the first element of the queue and returns its data.

Return value

Type: gpointer

The data of the first 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.