Function

Vipsvalue_get_area

Declaration [src]

void*
vips_value_get_area (
  const GValue* value,
  size_t* length
)

Description [src]

Get the pointer from an area. Don’t touch count (area is static).

Parameters

value GValue
 

Get from this value.

 The data is owned by the caller of the function.
length size_t*
 

Optionally return length here.

 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: gpointer
 

The pointer held by value.

 The data is owned by the called function.
 The return value can be NULL.