ArrayG.setClearFunc

Sets a function to clear an element of array. The clear_func will be called when an element in the array data segment is removed and when the array is freed and data segment is deallocated as well. Note that in contrast with other uses of GDestroyNotify functions, clear_func is expected to clear the contents of the array element it is given, but not free the element itself. Since 2.32

class ArrayG
void
setClearFunc

Parameters

clearFunc GDestroyNotify

a function to clear an element of array

Meta