ListG.copy

Copies a #GList.

Note that this is a "shallow" copy. If the list elements consist of pointers to data, the pointers are copied but the actual data is not. See g_list_copy_deep() if you need to copy the data as well.

Return: the start of the new list that holds the same data as @list

class ListG
copy
()

Meta