### Class

# GIRepository VFuncInfo

since: 2.80

#### Description [src]

    final class GIRepository.VFuncInfo : GObject.TypeInstance
    {
      /* No available fields */
    }

`GIVFuncInfo` represents a virtual function.

A virtual function is a callable object that belongs to either a `GIObjectInfo` or a `GIInterfaceInfo`.

Available since: 2.80

#### Hierarchy

#### Ancestors

- GICallableInfo
- GIBaseInfo

#### Instance methods

###### gi_vfunc_info_get_address

Looks up where the implementation for `info` is inside the type struct of `implementor_gtype`.

since: 2.80

###### gi_vfunc_info_get_flags

Obtain the flags for this virtual function info.

since: 2.80

###### gi_vfunc_info_get_invoker

If this virtual function has an associated invoker method, this method will return it. An invoker method is a C entry point.

since: 2.80

###### gi_vfunc_info_get_offset

Obtain the offset of the function pointer in the class struct.

since: 2.80

###### gi_vfunc_info_get_signal

Obtain the signal for the virtual function if one is set.

since: 2.80

###### gi_vfunc_info_invoke

Invokes the function described in `info` with the given arguments.

since: 2.80

##### Methods inherited from GICallableInfo (18)

###### gi_callable_info_can_throw_gerror

Whether the callable can throw a `GError`.

since: 2.80

###### gi_callable_info_get_arg

Obtain information about a particular argument of this callable.

since: 2.80

###### gi_callable_info_get_async_function

Gets the callable info for the callable’s asynchronous version.

since: 2.84

###### gi_callable_info_get_caller_owns

See whether the caller owns the return value of this callable.

since: 2.80

###### gi_callable_info_get_finish_function

Gets the info for an async function’s corresponding finish function.

since: 2.84

###### gi_callable_info_get_instance_ownership_transfer

Obtains the ownership transfer for the instance argument.

since: 2.80

###### gi_callable_info_get_n_args

Obtain the number of arguments (both ‘in’ and ‘out’) for this callable.

since: 2.80

###### gi_callable_info_get_return_attribute

Retrieve an arbitrary attribute associated with the return value.

since: 2.80

###### gi_callable_info_get_return_type

Obtain the return type of a callable item as a `GITypeInfo`.

since: 2.80

###### gi_callable_info_get_sync_function

Gets the callable info for the callable’s synchronous version.

since: 2.84

###### gi_callable_info_invoke

Invoke the given `GICallableInfo` by calling the given `function` pointer.

since: 2.80

###### gi_callable_info_is_async

Gets whether a callable is ‘async’. Async callables have a `GAsyncReadyCallback` parameter and user data.

since: 2.84

###### gi_callable_info_is_method

Determines if the callable info is a method.

since: 2.80

###### gi_callable_info_iterate_return_attributes

Iterate over all attributes associated with the return value.

since: 2.80

###### gi_callable_info_load_arg

Obtain information about a particular argument of this callable; this function is a variant of `gi_callable_info_get_arg()` designed for stack allocation.

since: 2.80

###### gi_callable_info_load_return_type

Obtain information about a return value of callable; this function is a variant of `gi_callable_info_get_return_type()` designed for stack allocation.

since: 2.80

###### gi_callable_info_may_return_null

See if a callable could return `NULL`.

since: 2.80

###### gi_callable_info_skip_return

See if a callable’s return value is only useful in C.

since: 2.80

##### Methods inherited from GIBaseInfo (11)

###### gi_base_info_clear

Clears memory allocated internally by a stack-allocated `GIBaseInfo`.

since: 2.80

###### gi_base_info_equal

Compare two `GIBaseInfo`s.

since: 2.80

###### gi_base_info_get_attribute

Retrieve an arbitrary attribute associated with this node.

since: 2.80

###### gi_base_info_get_container

Obtain the container of the `info`.

since: 2.80

###### gi_base_info_get_name

Obtain the name of the `info`.

since: 2.80

###### gi_base_info_get_namespace

Obtain the namespace of `info`.

since: 2.80

###### gi_base_info_get_typelib

Obtain the typelib this `info` belongs to.

since: 2.80

###### gi_base_info_is_deprecated

Obtain whether the `info` is represents a metadata which is deprecated.

since: 2.80

###### gi_base_info_iterate_attributes

Iterate over all attributes associated with this node.

since: 2.80

###### gi_base_info_ref

Increases the reference count of `info`.

since: 2.80

###### gi_base_info_unref

Decreases the reference count of `info`. When its reference count drops to 0, the info is freed.

since: 2.80