gSListFromD

Template to convert a D array to a GSList for passing to C functions

gSListFromD
(
T
)
(
T[] a
)

Parameters

T

Type of the array values

a T[]

The D array

Return Value

Type: GSList*

New GSList which should be freed with containerFree!() template (if ownership not taken by C code)