Function

Vipsvalue_get_array_object

Declaration [src]

GObject**
vips_value_get_array_object (
  const GValue* value,
  int* n
)

Description [src]

Return the start of the array of GObject held by value. Optionally return the number of elements in n.

::: seealso vips_area_new_array_object().

Parameters

value GValue
 

GValue to get from.

 The data is owned by the caller of the function.
n int*
 

Return the number of elements here, optionally.

 The argument will be set by the function.
 The argument can be NULL.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: An array of GObject*
 

The array address.

 The length of the array is in the n argument.
 The data is owned by the called function.