find_vfunc_using_interfaces


Description:

public VFuncInfo? find_vfunc_using_interfaces (string name, out ObjectInfo implementor)

Locate a virtual function slot with name name, searching both the object info and any interfaces it implements.

Note that the namespace for virtuals is distinct from that of methods; there may or may not be a concrete method associated for a virtual. If there is one, it may be retrieved using get_invoker, otherwise null will be returned.

Note that this function does *not* search parent classes; you will have to chain up if that's desired.

Parameters:

name

name of vfunc to obtain

implementor

The implementor of the interface

info

a ObjectInfo

Returns:

the VFuncInfo. Free the struct by calling g_base_info_unref when done.




2022 vala-language.org