Packages
gobject-introspection-1.0
GI
ArgInfo
get_closure
get_destroy
get_direction
get_ownership_transfer
get_scope
get_type
is_caller_allocates
is_optional
is_return_value
is_skip
load_type
may_be_null
ArgInfo
Object Hierarchy:
GI.ArgInfo
GI.ArgInfo
GI.ArgInfo
GI.BaseInfo
GI.BaseInfo
GI.BaseInfo->GI.ArgInfo
Description:
[
CCode
( type_id =
"g_base_info_gtype_get_type ()"
) ]
[
Compact
]
public
class
ArgInfo
:
BaseInfo
Represents an argument.
Namespace:
GI
Package:
gobject-introspection-1.0
Content:
Methods:
public
int
get_closure
()
Obtain the index of the user data argument.
public
int
get_destroy
()
Obtains the index of the
DestroyNotify
argument.
public
Direction
get_direction
()
Obtain the direction of the argument.
public
Transfer
get_ownership_transfer
()
Obtain the ownership transfer for this argument.
public
ScopeType
get_scope
()
Obtain the scope type for this argument.
public
TypeInfo
get_type
()
Obtain the type information for
info
.
public
bool
is_caller_allocates
()
Obtain if the argument is a pointer to a struct or object that will receive an output of a function.
public
bool
is_optional
()
Obtain if the argument is optional.
public
bool
is_return_value
()
Obtain if the argument is a return value.
public
bool
is_skip
()
Obtain if an argument is only useful in C.
public
void
load_type
(
out
unowned
TypeInfo
type)
Obtain information about a the type of given argument
info
; this function is a variant of
get_type
designed for stack allocation.
public
bool
may_be_null
()
Obtain if the type of the argument includes the possibility of
null
.
Inherited Members:
All known members inherited from class GI.BaseInfo
equal
get_attribute
get_container
get_name
get_namespace
get_type
get_typelib
is_deprecated
iterate_attributes