ListG.prepend

Adds a new element on to the start 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.

class ListG
prepend
(
void* data
)

Parameters

data void*

the data for the new element

Return Value

Type: ListG

the new start of the GList

Meta