GIRepository.FunctionInfo.get_vfunc

### Method

# GIRepository FunctionInfoget_vfunc

since: 2.80

#### Declaration [src]

    GIVFuncInfo*
    gi_function_info_get_vfunc (
      GIFunctionInfo* info
    )

#### Description [src]

Obtain the virtual function associated with this `GIFunctionInfo`.

Only `GIFunctionInfo`s with the flag `GI_FUNCTION_WRAPS_VFUNC` have a virtual function set. For other cases, `NULL` will be returned.

Available since: 2.80

#### Return value

Type: `GIVFuncInfo`

The virtual function or `NULL` if not set. Free it by calling `gi_base_info_unref()` when done.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.