ArrayG.prependVals

Adds @len elements onto the start of the array.

@data may be %NULL if (and only if) @len is zero. If @len is zero, this function is a no-op.

This operation is slower than g_array_append_vals() since the existing elements in the array have to be moved to make space for the new elements.

class ArrayG
prependVals
(
void* data
,
uint len
)

Parameters

data void*

a pointer to the elements to prepend to the start of the array

len uint

the number of elements to prepend, which may be zero

Return Value

Type: ArrayG

the #GArray

Meta