invoke


Description:

public bool invoke (Type implementor, Argument[] in_args, Argument[] out_args, Argument return_value) throws InvokeError

Invokes the function described in info with the given arguments.

Note that inout parameters must appear in both argument lists.

Parameters:

implementor

Type of the type that implements this virtual function

in_args

an array of Arguments, one for each in parameter of info. If there are no in parameter, in_args can be null

out_args

an array of Arguments, one for each out parameter of info. If there are no out parameters, out_args may be null

return_value

return location for the return value of the function. If the function returns void, return_value may be null

info

a VFuncInfo describing the virtual function to invoke

n_in_args

the length of the in_args array

n_out_args

the length of the out_args array

Returns:

true if the function has been invoked, false if an error occurred.




2022 vala-language.org