Method

GObjectValueArrayinsert

Declaration

GValueArray*
g_value_array_insert (
  GValueArray* value_array,
  guint index_,
  const GValue* value
)

Description

Insert a copy of value at specified position into value_array. If value is NULL, an uninitialized value is inserted.

Deprecated since:2.32

Use GArray and g_array_insert_val() instead.

Parameters

index_ guint
 

Insertion position, must be <= value_array->;n_values.

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.