diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-04-06 15:14:52 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2023-04-06 16:11:37 +0200 |
commit | 8d7e4b7a1e5881dd5b93a99a1ec3ee8529d67f35 (patch) | |
tree | aab61576077b16aa7726705b154acce7f23f383a /tests/dbus/async-bus_client.c-expected | |
parent | 6ad0e233e6f67f5b30810203b43b160e4c529f37 (diff) | |
download | vala-8d7e4b7a1e5881dd5b93a99a1ec3ee8529d67f35.tar.gz |
codegen: Stabilize CCode.cname for backing method of lamdba expression
Move lambda_id generation to CCodeAttribute and use _vala_lambda%d_ pattern
Diffstat (limited to 'tests/dbus/async-bus_client.c-expected')
-rw-r--r-- | tests/dbus/async-bus_client.c-expected | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/dbus/async-bus_client.c-expected b/tests/dbus/async-bus_client.c-expected index 97b1623ba..4fb82d344 100644 --- a/tests/dbus/async-bus_client.c-expected +++ b/tests/dbus/async-bus_client.c-expected @@ -87,11 +87,11 @@ static gboolean test_dbus_interface_set_property (GDBusConnection* connection, gpointer user_data); static void _test_unregister_object (gpointer user_data); static void _vala_main (void); -static void __lambda4_ (GObject* o, - GAsyncResult* r); -static void ___lambda4__gasync_ready_callback (GObject* source_object, - GAsyncResult* res, - gpointer self); +static void _vala_lambda0_ (GObject* o, + GAsyncResult* r); +static void __vala_lambda0__gasync_ready_callback (GObject* source_object, + GAsyncResult* res, + gpointer self); static const GDBusArgInfo _test_dbus_arg_info_get_test_result = {-1, "result", "i", NULL}; static const GDBusArgInfo * const _test_dbus_arg_info_get_test_in[] = {NULL}; @@ -325,8 +325,8 @@ _test_unregister_object (gpointer user_data) } static void -__lambda4_ (GObject* o, - GAsyncResult* r) +_vala_lambda0_ (GObject* o, + GAsyncResult* r) { GError* _inner_error0_ = NULL; g_return_if_fail ((o == NULL) || G_TYPE_CHECK_INSTANCE_TYPE (o, G_TYPE_OBJECT)); @@ -373,11 +373,11 @@ __lambda4_ (GObject* o, } static void -___lambda4__gasync_ready_callback (GObject* source_object, - GAsyncResult* res, - gpointer self) +__vala_lambda0__gasync_ready_callback (GObject* source_object, + GAsyncResult* res, + gpointer self) { - __lambda4_ (source_object, res); + _vala_lambda0_ (source_object, res); } static void @@ -386,7 +386,7 @@ _vala_main (void) GMainLoop* _tmp0_; GMainLoop* _tmp1_; GError* _inner_error0_ = NULL; - g_async_initable_new_async (TYPE_TEST_PROXY, 0, NULL, ___lambda4__gasync_ready_callback, NULL, "g-flags", 0, "g-name", "org.example.Test", "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/example/test", "g-interface-name", "org.example.Test", NULL); + g_async_initable_new_async (TYPE_TEST_PROXY, 0, NULL, __vala_lambda0__gasync_ready_callback, NULL, "g-flags", 0, "g-name", "org.example.Test", "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/example/test", "g-interface-name", "org.example.Test", NULL); _tmp0_ = g_main_loop_new (NULL, FALSE); _g_main_loop_unref0 (main_loop); main_loop = _tmp0_; |