gListToD
fn
T[] gListToD(T, GidOwnership ownership = GidOwnership.None)(GList * list) if (containerTypeIsSupported!T)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 | The list |
Returns
D array of the given type