@accepts(GIRepository.FunctionInfo, None, gint, None, gint, None)
@returns(gboolean)
def function_info_invoke(info, in_args, n_in_args, out_args, n_out_args, return_value)
Invokes the function described in @info with the given arguments. Note that inout parameters must appear in both argument lists. This function uses dlsym() to obtain a pointer to the function, so the library or shared object containing the described function must either be linked to the caller, or must have been g_module_symbol()<!-- -->ed before calling this function.
error occurred.
info : |
a GIFunctionInfo describing the function to invoke |
in_args : |
an array of GIArgument<!-- -->s, one for each in parameter of @info. If there are no in parameter, @in_args can be None |
n_in_args : |
the length of the @in_args array |
out_args : |
an array of GIArgument<!-- -->s, one for each out parameter of @info. If there are no out parameters, @out_args may be None |
n_out_args : |
the length of the @out_args array |
return_value : |
return location for the return value of the function. If the function returns void, @return_value may be None |
Returns : |
%TRUE if the function has been invoked, %FALSE if an |