### Method

# GLib Queue insert_before_link

since: 2.62

#### Declaration

    void
    g_queue_insert_before_link (
      GQueue* queue,
      GList* sibling,
      GList* link_
    )

#### Description

Inserts `link_` into `queue` before `sibling`.

`sibling` must be part of `queue`.

Available since: 2.62

This method is not directly available to language bindings.

#### Parameters

`sibling`

  Type: A list of `gpointer`

  A `GList` link that must be part of `queue`, or `NULL` to push at the tail of the queue.

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

`link_`

  Type: A list of `gpointer`

  A `GList` link to insert which must not be part of any other list.

  The data is owned by the caller of the method.