typedef typedefG_BEGIN_DECLS struct _GValueArray | GValueArray |
IMPORT_C GValue * | g_value_array_get_nth | ( | GValueArray * | value_array, |
guint | index_ | |||
) |
g_value_array_get_nth: : GValueArray to get a value from : index of the value of interest
Return a pointer to the value at containd in .
Returns: pointer to a value at in
IMPORT_C GValueArray * | g_value_array_new | ( | guint | n_prealloced | ) |
g_value_array_new: : number of values to preallocate space for
Allocate and initialize a new GValueArray, optionally preserve space for elements. New arrays always contain 0 elements, regardless of the value of .
Returns: a newly allocated GValueArray with 0 values
IMPORT_C void | g_value_array_free | ( | GValueArray * | value_array | ) |
g_value_array_free: : GValueArray to free
Free a GValueArray including its contents.
IMPORT_C GValueArray * | g_value_array_copy | ( | const GValueArray * | value_array | ) |
g_value_array_copy: : GValueArray to copy
Construct an exact copy of a GValueArray by duplicating all its contents.
Returns: Newly allocated copy of GValueArray
IMPORT_C GValueArray * | g_value_array_prepend | ( | GValueArray * | value_array, |
const GValue * | value | |||
) |
g_value_array_prepend: : GValueArray to add an element to : GValue to copy into GValueArray
Insert a copy of as first element of .
Returns: the GValueArray passed in as
IMPORT_C GValueArray * | g_value_array_append | ( | GValueArray * | value_array, |
const GValue * | value | |||
) |
g_value_array_append: : GValueArray to add an element to : GValue to copy into GValueArray
Insert a copy of as last element of .
Returns: the GValueArray passed in as
IMPORT_C GValueArray * | g_value_array_insert | ( | GValueArray * | value_array, |
guint | index_, | |||
const GValue * | value | |||
) |
g_value_array_insert: : GValueArray to add an element to : insertion position, must be <= value_array->n_values : GValue to copy into GValueArray
Insert a copy of at specified position into .
Returns: the GValueArray passed in as
IMPORT_C GValueArray * | g_value_array_remove | ( | GValueArray * | value_array, |
guint | index_ | |||
) |
g_value_array_remove: : GValueArray to remove an element from : position of value to remove, must be < value_array->n_values
Remove the value at position from .
Returns: the GValueArray passed in as
IMPORT_C GValueArray * | g_value_array_sort | ( | GValueArray * | value_array, |
GCompareFunc | compare_func | |||
) |
g_value_array_sort: : GValueArray to sort : function to compare elements
Sort using to compare the elements accoring to the semantics of GCompareFunc.
The current implementation uses Quick-Sort as sorting algorithm.
Returns: the GValueArray passed in as
IMPORT_C GValueArray * | g_value_array_sort_with_data | ( | GValueArray * | value_array, |
GCompareDataFunc | compare_func, | |||
gpointer | user_data | |||
) |
g_value_array_sort_with_data: : GValueArray to sort : function to compare elements : extra data argument provided for
Sort using to compare the elements accoring to the semantics of GCompareDataFunc.
The current implementation uses Quick-Sort as sorting algorithm.
Returns: the GValueArray passed in as