Function

GLibHFunc

Declaration

void
(* GHFunc) (
  gpointer key,
  gpointer value,
  gpointer user_data
)

Description

Specifies the type of the function passed to g_hash_table_foreach(). It is called with each key/value pair, together with the user_data parameter which is passed to g_hash_table_foreach().

Parameters

key gpointer
 

A key.

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

The value corresponding to the key.

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

User data passed to g_hash_table_foreach()

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