Function
GLibListinsert_before
Description
Inserts a new element into the list before the given position.
This function is not directly available to language bindings.
Parameters
list-
Type: A list of
gpointerA pointer to a
GList, this must point to the top of the list.The data is owned by the caller of the function. sibling-
Type: A list of
gpointerThe list element before which the new element is inserted or
NULLto insert at the end of the list.The data is owned by the caller of the function. data-
Type:
gpointerThe data for the new element.
The argument can be NULL.The data is owned by the caller of the function.