Function

Gimpvalue_take_float_array

Declaration [src]

void
gimp_value_take_float_array (
  GValue* value,
  gdouble* data,
  gsize length
)

Description [src]

Sets the contents of value to data, and takes ownership of data.

Parameters

value GValue
 

A valid value of type GIMP_TYPE_FLOAT_ARRAY.

 The data is owned by the caller of the function.
data An array of gdouble
 

A #gfloat array.

 The length of the array is specified in the length argument.
 The called function takes ownership of the data, and is responsible for freeing it.
length gsize
 

The number of elements in data.