Method

GIRepositoryObjectInfoget_unref_function_name

since: 2.80

Declaration

const char*
gi_object_info_get_unref_function_name (
  GIObjectInfo* info
)

Description

Obtain the symbol name of the function that should be called to unref this object type.

It’s mainly used for fundamental types. The type signature for the symbol is GIObjectInfoUnrefFunction. To fetch the function pointer see gi_object_info_get_unref_function_pointer().

Available since: 2.80

Return value

Type: const char*

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

The data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.