ListG.append

Adds a new element on to the end of the list. Note The return value is the new start of the list, which may have changed, so make sure you store the new value. Note Note that g_list_append() has to traverse the entire list to find the end, which is inefficient when adding multiple elements. A common idiom to avoid the inefficiency is to prepend the elements and reverse the list when all elements have been added.

class ListG
append
(
void* data
)

Parameters

data void*

the data for the new element

Return Value

Type: ListG

the new start of the GList

Meta