mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-04 15:44:49 +01:00
gio: add g_async_result_is_tagged()
Rather than doing a two step first-check-the-GAsyncResult-subtype-then- check-the-tag, add a GAsyncResult-level method so that you can do them both at once, simplifying the code for "short-circuit" async return values where the vmethod never gets called. https://bugzilla.gnome.org/show_bug.cgi?id=661767
This commit is contained in:
@@ -1199,6 +1199,7 @@ GAsyncResultIface
|
||||
GAsyncReadyCallback
|
||||
g_async_result_get_user_data
|
||||
g_async_result_get_source_object
|
||||
g_async_result_is_tagged
|
||||
g_async_result_legacy_propagate_error
|
||||
<SUBSECTION Standard>
|
||||
G_ASYNC_RESULT
|
||||
|
||||
Reference in New Issue
Block a user