Function

Vipsvalue_set_blob_free

Declaration [src]

void
vips_value_set_blob_free (
  GValue* value,
  void* data,
  size_t length
)

Description [src]

Just like vips_value_set_blob(), but when value is freed, data will be freed with g_free().

This can be easier to call for language bindings.

See also: vips_value_set_blob()

Parameters

value GValue
 

GValue to set.

 The data is owned by the caller of the function.
data void*
 

Pointer to area of memory.

 The argument can be NULL.
 The data is owned by the caller of the function.
length size_t
 

Length of memory area.