mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
bdd9b28b5b
Tue Apr 3 13:46:22 2001 Tim Janik <timj@gtk.org> * glist.[hc]: added g_list_nth_prev() which walks ->prev instead of ->next. * gpattern.[hc]: added shell-style pattern matching code from beast, derived from the gtk_pattern_*() code, but with a couple of bug fixes and a number of optimizations. Tue Apr 3 14:06:00 2001 Tim Janik <timj@gtk.org> * gparam.[hc]: added g_param_spec_pool_list() to list pspecs per owner_type. the pspecs are not referenced, so the caller is supposed to have some idea about owner_type not randomly nuking his pspec's. if this is going to provide problems in the future, we can either auto-ref the pspecs, or add a _foreach variant, though the latter would have to invoke the callback while pspec's mutex is acquired, so i just went for the _list variant for now. * gclosure.h (G_CALLBACK): made GCallback a void (*) (void) fucntion.
223 lines
2.4 KiB
Plaintext
223 lines
2.4 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Closures
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### MACRO G_CLOSURE_NEEDS_MARSHAL ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
|
|
|
|
<!-- ##### MACRO G_CCLOSURE_SWAP_DATA ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@cclosure:
|
|
|
|
|
|
<!-- ##### MACRO G_CALLBACK ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@f:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GCallback ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GClosure ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@is_invalid:
|
|
|
|
<!-- ##### STRUCT GCClosure ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@callback:
|
|
|
|
<!-- ##### USER_FUNCTION GClosureMarshal ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@return_value:
|
|
@n_param_values:
|
|
@param_values:
|
|
@invocation_hint:
|
|
@marshal_data:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GClosureNotify ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@data:
|
|
@closure:
|
|
|
|
|
|
<!-- ##### STRUCT GClosureNotifyData ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@data:
|
|
@notify:
|
|
|
|
<!-- ##### FUNCTION g_cclosure_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@callback_func:
|
|
@user_data:
|
|
@destroy_data:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_cclosure_new_swap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@callback_func:
|
|
@user_data:
|
|
@destroy_data:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_cclosure_new_object ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@callback_func:
|
|
@object:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_cclosure_new_object_swap ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@callback_func:
|
|
@object:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_new_object ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@sizeof_closure:
|
|
@object:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_ref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_unref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_invoke ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@return_value:
|
|
@n_param_values:
|
|
@param_values:
|
|
@invocation_hint:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_invalidate ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_new_simple ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@sizeof_closure:
|
|
@data:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_set_marshal ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@marshal:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_add_marshal_guards ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@pre_marshal_data:
|
|
@pre_marshal_notify:
|
|
@post_marshal_data:
|
|
@post_marshal_notify:
|
|
|
|
|
|
<!-- ##### FUNCTION g_closure_set_meta_marshal ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@closure:
|
|
@marshal_data:
|
|
@meta_marshal:
|
|
|
|
|