Method

GObjectValueArrayinsert

deprecated: 2.32 

Declaration [src]

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

Description [src]

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_

Type: guint

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

value

Type: GValue

GValue to copy into GValueArray, or NULL.

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

Return value

Type: GValueArray

The GValueArray passed in as value_array.

The returned data is owned by the instance.