ListG.concat

Adds the second #GList onto the end of the first #GList. Note that the elements of the second #GList are not copied. They are used directly.

This function is for example used to move an element in the list. The following example moves an element to the top of the list: |[<!-- language="C" --> list = g_list_remove_link (list, llink); list = g_list_concat (llink, list); ]|

class ListG
concat

Parameters

list2 ListG

the #GList to add to the end of the first #GList, this must point to the top of the list

Return Value

Type: ListG

the start of the new #GList, which equals @list1 if not %NULL

Meta