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.
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.