ArrayG.insertVals

Inserts @len elements into a #GArray at the given index.

If @index_ is greater than the array’s current length, the array is expanded. The elements between the old end of the array and the newly inserted elements will be initialised to zero if the array was configured to clear elements; otherwise their values will be undefined.

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

class ArrayG
insertVals
(
uint index
,
void* data
,
uint len
)

Parameters

index uint

the index to place the elements at

data void*

a pointer to the elements to insert

len uint

the number of elements to insert

Return Value

Type: ArrayG

the #GArray

Meta