GIRepository.ArgInfo
Description: Reference for GIRepository.ArgInfo

### Class

# GIRepositoryArgInfo

since: 2.80

#### Description

    final class GIRepository.ArgInfo : GObject.TypeInstance
    {
      /* No available fields */
    }

`GIArgInfo` represents an argument of a callable.

An argument is always part of a `GICallableInfo`.

Available since: 2.80

#### Ancestors

- GIBaseInfo

#### Instance methods

###### gi_arg_info_get_closure_index

Obtain the index of the user data argument. This is only valid for arguments which are callbacks.

since: 2.80

###### gi_arg_info_get_destroy_index

Obtains the index of the `GDestroyNotify` argument. This is only valid for arguments which are callbacks.

since: 2.80

###### gi_arg_info_get_direction

Obtain the direction of the argument. Check `GIDirection` for possible direction values.

since: 2.80

###### gi_arg_info_get_ownership_transfer

Obtain the ownership transfer for this argument. `GITransfer` contains a list of possible values.

since: 2.80

###### gi_arg_info_get_scope

Obtain the scope type for this argument.

since: 2.80

###### gi_arg_info_get_type_info

Obtain the type information for `info`.

since: 2.80

###### gi_arg_info_is_caller_allocates

Obtain if the argument is a pointer to a struct or object that will receive an output of a function.

since: 2.80

###### gi_arg_info_is_optional

Obtain if the argument is optional.

since: 2.80

###### gi_arg_info_is_return_value

Obtain if the argument is a return value. It can either be a parameter or a return value.

since: 2.80

###### gi_arg_info_is_skip

Obtain if an argument is only useful in C.

since: 2.80

###### gi_arg_info_load_type_info

Obtain information about a the type of given argument `info`; this function is a variant of `gi_arg_info_get_type_info()` designed for stack allocation.

since: 2.80

###### gi_arg_info_may_be_null

Obtain if the type of the argument includes the possibility of `NULL`.

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