mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Merge branch '2343-async-result-docs' into 'main'
giotypes: Document refcounting of source object for GAsyncReadyCallback Closes #2343 See merge request GNOME/glib!1988
This commit is contained in:
commit
51b0cd3ccc
@ -271,6 +271,10 @@ typedef struct _GVolumeMonitor GVolumeMonitor;
|
||||
* where the #GTask was created. All other users of
|
||||
* #GAsyncReadyCallback must likewise call it asynchronously in a
|
||||
* later iteration of the main context.
|
||||
*
|
||||
* The asynchronous operation is guaranteed to have held a reference to
|
||||
* @source_object from the time when the `*_async()` function was called, until
|
||||
* after this callback returns.
|
||||
**/
|
||||
typedef void (*GAsyncReadyCallback) (GObject *source_object,
|
||||
GAsyncResult *res,
|
||||
|
Loading…
Reference in New Issue
Block a user