From abc5cbbe3e1f6e6bdc40d94741713e9efb6d580d Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 29 Apr 2001 03:04:27 +0000 Subject: made hook ids a gulong. Sun Apr 29 00:37:34 2001 Tim Janik * ghook.[hc]: made hook ids a gulong. Sat Apr 28 23:39:42 2001 Tim Janik * gsignal.[hc]: made signal handler and emission hook ids gulongs. (signal_handlers_foreach_matched_R): only invoke callback for handlers that are not disconnected (id>0). (signal_emit_R): prevent invocation of signal handlers during the emission they were connected within. * glib-mkenums: publically installed perl-script to parse C code enums and generate descriptions thereof. * glib-mkenums.1: assorted man page. --- glib/ghook.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'glib/ghook.h') diff --git a/glib/ghook.h b/glib/ghook.h index 2f96d0d22..8942e5ada 100644 --- a/glib/ghook.h +++ b/glib/ghook.h @@ -60,7 +60,7 @@ typedef enum /* --- structures --- */ struct _GHookList { - guint seq_id; + gulong seq_id; guint hook_size : 16; guint is_setup : 1; GHook *hooks; @@ -73,7 +73,7 @@ struct _GHook GHook *next; GHook *prev; guint ref_count; - guint hook_id; + gulong hook_id; guint flags; gpointer func; GDestroyNotify destroy; @@ -109,7 +109,7 @@ void g_hook_ref (GHookList *hook_list, void g_hook_unref (GHookList *hook_list, GHook *hook); gboolean g_hook_destroy (GHookList *hook_list, - guint hook_id); + gulong hook_id); void g_hook_destroy_link (GHookList *hook_list, GHook *hook); void g_hook_prepend (GHookList *hook_list, @@ -121,7 +121,7 @@ void g_hook_insert_sorted (GHookList *hook_list, GHook *hook, GHookCompareFunc func); GHook* g_hook_get (GHookList *hook_list, - guint hook_id); + gulong hook_id); GHook* g_hook_find (GHookList *hook_list, gboolean need_valids, GHookFindFunc func, -- cgit v1.2.1