ArgInfo
Object Hierarchy:
Description:
[
CCode ( type_id =
"g_base_info_gtype_get_type ()" ) ]
[
Compact ]
public class ArgInfo :
BaseInfo
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