gSListToD

Convert a GLib GSList to a D array.

Parameters

T

The type of elements in the list

ownership

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

list GSList*

The list

Return Value

Type: T[]

D array of the given type