mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
docs: Move the GClosure SECTION
Move the contents to the struct docs. Helps: #3037
This commit is contained in:
parent
7eba4e8f49
commit
bedf11b330
@ -39,11 +39,13 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gclosure
|
* GClosure:
|
||||||
* @short_description: Functions as first-class objects
|
* @in_marshal: Indicates whether the closure is currently being invoked with
|
||||||
* @title: Closures
|
* g_closure_invoke()
|
||||||
|
* @is_invalid: Indicates whether the closure has been invalidated by
|
||||||
|
* g_closure_invalidate()
|
||||||
*
|
*
|
||||||
* A #GClosure represents a callback supplied by the programmer.
|
* A `GClosure` represents a callback supplied by the programmer.
|
||||||
*
|
*
|
||||||
* It will generally comprise a function of some kind and a marshaller
|
* It will generally comprise a function of some kind and a marshaller
|
||||||
* used to call it. It is the responsibility of the marshaller to
|
* used to call it. It is the responsibility of the marshaller to
|
||||||
|
@ -169,15 +169,7 @@ struct _GClosureNotifyData
|
|||||||
gpointer data;
|
gpointer data;
|
||||||
GClosureNotify notify;
|
GClosureNotify notify;
|
||||||
};
|
};
|
||||||
/**
|
|
||||||
* GClosure:
|
|
||||||
* @in_marshal: Indicates whether the closure is currently being invoked with
|
|
||||||
* g_closure_invoke()
|
|
||||||
* @is_invalid: Indicates whether the closure has been invalidated by
|
|
||||||
* g_closure_invalidate()
|
|
||||||
*
|
|
||||||
* A #GClosure represents a callback supplied by the programmer.
|
|
||||||
*/
|
|
||||||
struct _GClosure
|
struct _GClosure
|
||||||
{
|
{
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
|
Loading…
Reference in New Issue
Block a user