gListToD

Convert a GLib GList to a D array.

Parameters

T

The type of elements in the list

ownership

The ownership of the GList, None (default): do nothing with it, Container: free list only, Full: free list and items

list GList*

The list

Return Value

Type: T[]

D array of the given type