Method

GLibHookcompare_ids

Declaration

gint
g_hook_compare_ids (
  GHook* new_hook,
  GHook* sibling
)

Description

Compares the ids of two GHook elements, returning a negative value if the second id is greater than the first.

Parameters

sibling GHook
 

A GHook to compare with new_hook.

 The data is owned by the caller of the function.

Return value

Returns: int
 

A value <= 0 if the id of sibling is >= the id of new_hook.