Function
VipsForeignmap
Declaration [src]
void*
vips_foreign_map (
const char* base,
VipsSListMap2Fn fn,
void* a,
void* b
)
Description [src]
Apply a function to every VipsForeignClass
that VIPS knows about. Foreigns
are presented to the function in priority order.
Like all VIPS map functions, if fn
returns NULL
, iteration continues. If
it returns non-NULL
, iteration terminates and that value is returned. The
map function returns NULL
if all calls return NULL
.
See also: vips_slist_map().
Parameters
base
-
Type:
const char*
Base class to search below (eg. “VipsForeignLoad”).
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. fn
-
Type:
VipsSListMap2Fn
Function to apply to each
VipsForeignClass
. a
-
Type:
void*
User data.
The argument can be NULL
.The data is owned by the caller of the function. b
-
Type:
void*
User data.
The argument can be NULL
.The data is owned by the caller of the function.