mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-11 11:03:01 +01:00
destruction cleanup. there's one ->finalize_hook member in the hooklist
Thu Mar 8 16:23:34 2001 Tim Janik <timj@gtk.org> * ghook.[hc]: destruction cleanup. there's one ->finalize_hook member in the hooklist now that gets called when a hook should be destroyed, that's it. that function is guarranteed to be called only when all ref_counts to the hook vanished, thus also when the hook is not in call. Thu Mar 8 16:35:48 2001 Tim Janik <timj@gtk.org> * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/. * gsignal.[hc]: fixed accumulator invocation, implemented emission hooks. and no, neither of these callbacks are called via a closure, language bindings can wrap the accumulator and emission hook interface, they already get parameters marshalled into a GValue array. (g_signal_connect): removed this function as its C specific, doesn't cover the swapped argument, is too close to its broken original gtk_signal_connect() and creates demand for _swapped, _after and _swapped_after variants <brrr>. (g_signal_connectc): convenience macro to connect a C handler func with data, like the old g_signal_connect() plus swapped argument. * gtype.h: * gboxed.c: added G_TYPE_VALUE boxed type.
This commit is contained in:
@@ -17,6 +17,20 @@
|
||||
@s2:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hook_list:
|
||||
@hook:
|
||||
|
||||
<!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO access ##### -->
|
||||
<para>
|
||||
|
||||
|
||||
@@ -68,8 +68,7 @@ and the list of hook functions can be invoked.
|
||||
@is_setup:
|
||||
@hooks:
|
||||
@hook_memchunk:
|
||||
@hook_free:
|
||||
@hook_destroy:
|
||||
@finalize_hook:
|
||||
|
||||
<!-- ##### STRUCT GHook ##### -->
|
||||
<para>
|
||||
@@ -153,6 +152,8 @@ and the list of hook functions can be invoked.
|
||||
</para>
|
||||
|
||||
@hook:
|
||||
@marshal_data:
|
||||
<!-- # Unused Parameters # -->
|
||||
@data:
|
||||
|
||||
|
||||
@@ -162,24 +163,10 @@ and the list of hook functions can be invoked.
|
||||
</para>
|
||||
|
||||
@hook:
|
||||
@data:
|
||||
@marshal_data:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@hook_list:
|
||||
@hook:
|
||||
|
||||
|
||||
<!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- # Unused Parameters # -->
|
||||
@data:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_hook_list_init ##### -->
|
||||
@@ -222,6 +209,8 @@ thread) can be called. If set to FALSE, these are skipped.
|
||||
@hook_list: a #GHookList.
|
||||
@may_recurse:
|
||||
@marshaller:
|
||||
@marshal_data:
|
||||
<!-- # Unused Parameters # -->
|
||||
@data:
|
||||
|
||||
|
||||
@@ -233,6 +222,8 @@ thread) can be called. If set to FALSE, these are skipped.
|
||||
@hook_list: a #GHookList.
|
||||
@may_recurse:
|
||||
@marshaller:
|
||||
@marshal_data:
|
||||
<!-- # Unused Parameters # -->
|
||||
@data:
|
||||
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@ only one statement is expected by the compiler.
|
||||
Portable way to copy <type>va_list</type> variables.
|
||||
</para>
|
||||
|
||||
<!-- # Unused Parameters # -->
|
||||
@ap1: the <type>va_list</type> variable to place a copy of @ap2 in.
|
||||
@ap2: a <type>va_list</type>.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user