Method

GIRepositoryObjectInfoget_ref_function_name

since: 2.80

Declaration

const char*
gi_object_info_get_ref_function_name (
  GIObjectInfo* info
)

Description

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

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

Available since: 2.80

Return value

Type: const char*

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

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