Function

Vipshash_table_map

Declaration [src]

void*
vips_hash_table_map (
  GHashTable* hash,
  VipsSListMap2Fn fn,
  void* a,
  void* b
)

Description [src]

Like slist map, but for a hash table.

Parameters

hash GHashTable
 

A GHashTable

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

Function to apply to each hash value.

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: gpointer
 

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.