Method

GIRepositoryObjectInfoget_ref_function_pointer

since: 2.80

Declaration [src]

GIObjectInfoRefFunction
gi_object_info_get_ref_function_pointer (
  GIObjectInfo* info
)

Description [src]

Obtain a pointer to a function which can be used to increase 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: GIObjectInfoRefFunction

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