Function

Vipsslist_filter

Declaration [src]

GSList*
vips_slist_filter (
  GSList* list,
  VipsSListMap2Fn fn,
  void* a,
  void* b
)

Description [src]

Remove all occurrences of an item from a list. Returns the new head of the list.

Parameters

list A list of guint8
 

A GSList

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

Function to call for each element.

a void*
 

User data.

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

User data.

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

Return value

Returns: A list of guint8
 

New head of list.

 The caller of the function takes ownership of the data, and is responsible for freeing it.