gPtrArrayToD

Convert a GLib GPtrArray to a D array.

Parameters

T

The type of elements in the pointer array

ownership

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

ptrArray GPtrArray*

The pointer array instance

Return Value

Type: T[]

D array of the given type