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/asynchronous/bug612641.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/asynchronous/bug612641.c-expected')
-rw-r--r-- | tests/asynchronous/bug612641.c-expected | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/asynchronous/bug612641.c-expected b/tests/asynchronous/bug612641.c-expected index 114d4a34e..e408ca453 100644 --- a/tests/asynchronous/bug612641.c-expected +++ b/tests/asynchronous/bug612641.c-expected @@ -86,8 +86,8 @@ static FooFunc foo_foo_finish (Foo* self, gpointer* result_target, GDestroyNotify* result_target_destroy_notify); static gboolean foo_foo_co (FooFooData* _data_); -static void __lambda4_ (Foo* self); -static void ___lambda4__foo_func (gpointer self); +static void _vala_lambda0_ (Foo* self); +static void __vala_lambda0__foo_func (gpointer self); VALA_EXTERN Foo* foo_new (void); VALA_EXTERN Foo* foo_construct (GType object_type); static void foo_finalize (Foo * obj); @@ -145,14 +145,14 @@ foo_foo_finish (Foo* self, } static void -__lambda4_ (Foo* self) +_vala_lambda0_ (Foo* self) { } static void -___lambda4__foo_func (gpointer self) +__vala_lambda0__foo_func (gpointer self) { - __lambda4_ ((Foo*) self); + _vala_lambda0_ ((Foo*) self); } static gboolean @@ -165,7 +165,7 @@ foo_foo_co (FooFooData* _data_) g_assert_not_reached (); } _state_0: - _data_->_tmp0_ = ___lambda4__foo_func; + _data_->_tmp0_ = __vala_lambda0__foo_func; _data_->_tmp0__target = foo_ref (_data_->self); _data_->_tmp0__target_destroy_notify = foo_unref; _data_->result_target = _data_->_tmp0__target; |