Function

Vipsvalue_get_array_double

Declaration [src]

double*
vips_value_get_array_double (
  const GValue* value,
  int* n
)

Description [src]

Return the start of the array of doubles held by value. optionally return the number of elements in n.

::: seealso vips_array_double_new().

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 double
 

The array address.

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