Function

VipsArgumentmap

Declaration [src]

void*
vips_argument_map (
  VipsObject* object,
  VipsArgumentMapFn fn,
  void* a,
  void* b
)

Description [src]

Loop over the vips_arguments to an object. Stop when fn returns non-NULL and return that value.

Parameters

object VipsObject
 

Object whose args should be enumerated.

 The data is owned by the caller of the function.
fn VipsArgumentMapFn
 

Call this function for every argument.

a void*
 

Client data.

 The argument can be NULL.
 The data is owned by the caller of the function.
b void*
 

Client data.

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

Return value

Returns: void*
 

NULL if fn returns NULL for all arguments, otherwise the first non-NULL value from fn.

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