Struct
GObjectValueArray
Constructors
g_value_array_new
Allocate and initialize a new GValueArray
, optionally preserve space
for n_prealloced
elements. New arrays always contain 0 elements,
regardless of the value of n_prealloced
.
deprecated: 2.32
Instance methods
g_value_array_append
Insert a copy of value
as last element of value_array
. If value
is
NULL
, an uninitialized value is appended.
deprecated: 2.32
g_value_array_copy
Construct an exact copy of a GValueArray
by duplicating all its contents.
deprecated: 2.32
g_value_array_get_nth
Return a pointer to the value at index_
containd in value_array
.
deprecated: 2.32
g_value_array_insert
Insert a copy of value
at specified position into value_array
. If value
is NULL
, an uninitialized value is inserted.
deprecated: 2.32
g_value_array_prepend
Insert a copy of value
as first element of value_array
. If value
is
NULL
, an uninitialized value is prepended.
deprecated: 2.32
g_value_array_sort
Sort value_array
using compare_func
to compare the elements according to
the semantics of GCompareFunc
.
deprecated: 2.32
g_value_array_sort_with_data
Sort value_array
using compare_func
to compare the elements according
to the semantics of GCompareDataFunc
.
deprecated: 2.32