Method

GIRepositoryObjectInfoget_get_value_function_name

since: 2.80

Declaration

const char*
gi_object_info_get_get_value_function_name (
  GIObjectInfo* info
)

Description

Obtain the symbol name of the function that should be called to convert an object instance pointer of this object type to a GValue.

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

Available since: 2.80

Return value

Type: const char*

The symbol, or NULL if the object type has no get-value function.

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