Method

GLibQueuepush_head

Declaration [src]

void
g_queue_push_head (
  GQueue* queue,
  gpointer data
)

Description [src]

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.