GIRepository.ObjectInfo.get_ref_function_pointer

### Method

# GIRepository ObjectInfoget_ref_function_pointer

since: 2.80

#### Declaration

    GIObjectInfoRefFunction
    gi_object_info_get_ref_function_pointer (
      GIObjectInfo* info
    )

#### Description

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.