Function

Vipsvalue_get_array_int

Declaration [src]

int*
vips_value_get_array_int (
  const GValue* value,
  int* n
)

Description [src]

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

::: seealso vips_array_int_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 int
 

The array address.

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