Method

GIRepositoryObjectInfoget_unref_function_pointer

since: 2.80

Declaration

GIObjectInfoUnrefFunction
gi_object_info_get_unref_function_pointer (
  GIObjectInfo* info
)

Description

Obtain a pointer to a function which can be used to decrease the reference count an instance of this object type.

This takes derivation into account and will reversely traverse the base classes of this type, starting at the top type.

Available since: 2.80

This method is not directly available to language bindings.

Return value

Type: GIObjectInfoUnrefFunction

The function pointer, or NULL if the object type has no unref function.