Function
VipsAreanew_array
Declaration [src]
VipsArea*
vips_area_new_array (
GType type,
size_t sizeof_type,
int n
)
Description [src]
An area which holds an array of elements of some %GType. To set values for the elements, get the pointer and write.
See also: vips_area_unref().
Parameters
type |
GType |
%GType of elements to store. |
|
sizeof_type |
size_t |
Sizeof() an element in the array. |
|
n |
int |
Number of elements in the array. |
Return value
Returns: | VipsArea |
The new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |