Class
GIRepositoryFunctionInfo
since: 2.80
Description [src]
final class GIRepository.FunctionInfo : GObject.TypeInstance
{
/* No available fields */
}
GIFunctionInfo
represents a function, method or constructor.
To find out what kind of entity a GIFunctionInfo
represents, call
gi_function_info_get_flags()
.
See also GICallableInfo
for information on how to retrieve
arguments and other metadata.
Available since: 2.80
Instance methods
gi_function_info_get_vfunc
Obtain the virtual function associated with this GIFunctionInfo
.
since: 2.80
gi_function_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.
unstable 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.
unstable 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.
unstable 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.
unstable 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