Function

GLibHookinsert_sorted

Declaration

void
g_hook_insert_sorted (
  GHookList* hook_list,
  GHook* hook,
  GHookCompareFunc func
)

Description

Inserts a GHook into a GHookList, sorted by the given function.

Parameters

hook_list GHookList
 

A GHookList.

 The data is owned by the caller of the function.
hook GHook
 

The GHook to insert.

 The data is owned by the caller of the function.
func GHookCompareFunc
 

The comparison function used to sort the GHook elements.