Function Macro

GObjectVALUE_COLLECT_INIT

since: 2.24

Declaration [src]

#define G_VALUE_COLLECT_INIT (
  value,
  _value_type,
  var_args,
  flags,
  __error
)

Description [src]

Collects a variable argument value from a va_list.

We have to implement the varargs collection as a macro, because on some systems va_list variables cannot be passed by reference.

Available since: 2.24

This function is not directly available to language bindings.

Parameters

value

Type: -

A GValue return location. value must contain only 0 bytes.

_value_type

Type: -

The GType to use for value.

var_args

Type: -

The va_list variable; it may be evaluated multiple times.

flags

Type: -

Flags which are passed on to the collect_value() function of the GTypeValueTable of value.

__error

Type: -

A #gchar** variable that will be modified to hold a g_new() allocated error messages if something fails.