gArrayGToD

Convert a GLib GArray to a D array.

Parameters

T

The type of elements in the array

ownership

The ownership of the GArray, None (default): do nothing with it, Container: free container only, Full: unref

gArray GArray*

The GArray instance

Return Value

Type: T[]

D array of the given type