Method

GLibQueuepush_head

Declaration

void
g_queue_push_head (
  GQueue* queue,
  gpointer data
)

Description

Adds a new element at the head of the queue.

Parameters

data

Type: gpointer

The data for the new element.

The argument can be NULL.
The data is owned by the caller of the function.