gListFromD

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

gListFromD
(
T
)
(
T[] a
)

Parameters

T

Type of the array values

a T[]

The D array

Return Value

Type: GList*

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