Hook.insertSorted

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

class Hook
static
void
insertSorted

Parameters

hookList HookList

a #GHookList

hook Hook

the #GHook to insert

func GHookCompareFunc

the comparison function used to sort the #GHook elements

Meta