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/no-chainup.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/no-chainup.c-expected')
-rw-r--r-- | tests/chainup/no-chainup.c-expected | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/chainup/no-chainup.c-expected b/tests/chainup/no-chainup.c-expected index 252628c60..698271f80 100644 --- a/tests/chainup/no-chainup.c-expected +++ b/tests/chainup/no-chainup.c-expected @@ -75,8 +75,8 @@ VALA_EXTERN Foo* foo_new (void); VALA_EXTERN Foo* foo_construct (GType object_type); VALA_EXTERN Foo* foo_new_foo (void); VALA_EXTERN Foo* foo_construct_foo (GType object_type); -static gboolean __lambda4_ (Foo* self); -static gboolean ___lambda4__gsource_func (gpointer self); +static gboolean _vala_lambda0_ (Foo* self); +static gboolean __vala_lambda0__gsource_func (gpointer self); static void foo_finalize (Foo * obj); static GType foo_get_type_once (void); VALA_EXTERN GType bar_get_type (void) G_GNUC_CONST ; @@ -107,7 +107,7 @@ foo_new (void) } static gboolean -__lambda4_ (Foo* self) +_vala_lambda0_ (Foo* self) { gboolean result; result = TRUE; @@ -115,10 +115,10 @@ __lambda4_ (Foo* self) } static gboolean -___lambda4__gsource_func (gpointer self) +__vala_lambda0__gsource_func (gpointer self) { gboolean result; - result = __lambda4_ ((Foo*) self); + result = _vala_lambda0_ ((Foo*) self); return result; } @@ -130,7 +130,7 @@ foo_construct_foo (GType object_type) gpointer f_target; GDestroyNotify f_target_destroy_notify; self = (Foo*) g_type_create_instance (object_type); - f = ___lambda4__gsource_func; + f = __vala_lambda0__gsource_func; f_target = foo_ref (self); f_target_destroy_notify = foo_unref; f (f_target); |