Function

GLibSequenceinsert_before

Declaration

GSequenceIter*
g_sequence_insert_before (
  GSequenceIter* iter,
  gpointer data
)

Description

Inserts a new item just before the item pointed to by iter.

Available since:2.14

Parameters

iter GSequenceIter
 

A GSequenceIter.

 The data is owned by the caller of the function.
data gpointer
 

The data for the new item.

Return value

Returns: GSequenceIter
 

An iterator pointing to the new item.

 The data is owned by the called function.