mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
gclosure: Expand documentation and fix some typos
The critical omission from the GClosure documentation is that you need to call g_closure_set_marshal() when implementing a custom GClosure. Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
@@ -54,7 +54,9 @@
|
||||
* library provides the #GCClosure type for this purpose. Bindings for
|
||||
* other languages need marshallers which convert between #GValues
|
||||
* and suitable representations in the runtime of the language in
|
||||
* order to use functions written in that languages as callbacks.
|
||||
* order to use functions written in that language as callbacks. Use
|
||||
* g_closure_set_marshal() to set the marshaller on such a custom
|
||||
* closure implementation.
|
||||
*
|
||||
* Within GObject, closures play an important role in the
|
||||
* implementation of signals. When a signal is registered, the
|
||||
|
Reference in New Issue
Block a user