Method

GObjectValueArrayprepend

Declaration

GValueArray*
g_value_array_prepend (
  GValueArray* value_array,
  const GValue* value
)

Description

Insert a copy of value as first element of value_array. If value is NULL, an uninitialized value is prepended.

Deprecated since:2.32

Use GArray and g_array_prepend_val() instead.

Parameters

value GValue
 

GValue to copy into GValueArray, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: GValueArray
 

The GValueArray passed in as value_array.

 The data is owned by the instance.