Array
Allocate a new Array.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new Array using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new Array.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
a pointer to the element data. The data may be moved as elements are added to the #GArray.
the number of elements in the #GArray not including the possible terminating zero element.
Allocate a new Array using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
a pointer to the element data. The data may be moved as elements are added to the #GArray.
the number of elements in the #GArray not including the possible terminating zero element.
The AutofreeScope to allocate this structure in.