Function

Vipsvalue_set_array

Declaration [src]

void
vips_value_set_array (
  GValue* value,
  int n,
  GType type,
  size_t sizeof_type
)

Description [src]

Set value to be an array of things.

This allocates memory but does not initialise the contents: get the pointer and write instead.

Parameters

value GValue
 

%GValue to set.

 The argument will be set by the function.
 The data is owned by the caller of the function.
n int
 

Number of elements.

type GType
 

The type of each element.

sizeof_type size_t
 

The sizeof each element.