Function

Vipsslist_map4

Declaration [src]

void*
vips_slist_map4 (
  GSList* list,
  VipsSListMap4Fn fn,
  void* a,
  void* b,
  void* c,
  void* d
)

Description [src]

Map over a slist. _copy() the list in case the callback changes it.

Parameters

list

Type: A list of guint8

A GSList.

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

Type: VipsSListMap4Fn

Function to apply to each list element.

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.
c

Type: void*

User data.

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

Type: void*

User data.

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

Return value

Type: 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.