Sets a function for freeing each element when array is destroyed either via PtrArray.unref, when PtrArray.free is called with free_segment set to TRUE or when removing elements.
A function to free elements with destroy array or NULL
2.22
Sets a function for freeing each element when array is destroyed either via PtrArray.unref, when PtrArray.free is called with free_segment set to TRUE or when removing elements.