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/chainup/method-lambda-base.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/chainup/method-lambda-base.c-expected')
-rw-r--r-- | tests/chainup/method-lambda-base.c-expected | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/chainup/method-lambda-base.c-expected b/tests/chainup/method-lambda-base.c-expected index f8ce82308..bfc708fd0 100644 --- a/tests/chainup/method-lambda-base.c-expected +++ b/tests/chainup/method-lambda-base.c-expected @@ -100,8 +100,8 @@ static void bar_execute (Bar* self, Func func, gpointer func_target); static void bar_real_foo (Foo* base); -static void __lambda4_ (Bar* self); -static void ___lambda4__func (gpointer self); +static void _vala_lambda0_ (Bar* self); +static void __vala_lambda0__func (gpointer self); VALA_EXTERN Bar* bar_new (void); VALA_EXTERN Bar* bar_construct (GType object_type); static GType bar_get_type_once (void); @@ -348,15 +348,15 @@ bar_execute (Bar* self, } static void -__lambda4_ (Bar* self) +_vala_lambda0_ (Bar* self) { FOO_CLASS (bar_parent_class)->foo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_FOO, Foo)); } static void -___lambda4__func (gpointer self) +__vala_lambda0__func (gpointer self) { - __lambda4_ ((Bar*) self); + _vala_lambda0_ ((Bar*) self); } static void @@ -364,7 +364,7 @@ bar_real_foo (Foo* base) { Bar * self; self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BAR, Bar); - bar_execute (self, ___lambda4__func, self); + bar_execute (self, __vala_lambda0__func, self); } Bar* |