PtrArray.extendAndSteal

Adds all the pointers in array to the end of array_to_extend, transferring ownership of each element from array to array_to_extend and modifying array_to_extend in-place. array is then freed.

As with PtrArray.free, array will be destroyed if its reference count is 1. If its reference count is higher, it will be decremented and the length of array set to zero.

class PtrArray
void
extendAndSteal

Parameters

array PtrArray

a glib.PtrArray to add to the end of array_to_extend.

Meta

Since

2.62