summaryrefslogtreecommitdiff
path: root/tests/methods/bug649562.c-expected
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2023-04-06 15:14:52 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2023-04-06 16:11:37 +0200
commit8d7e4b7a1e5881dd5b93a99a1ec3ee8529d67f35 (patch)
treeaab61576077b16aa7726705b154acce7f23f383a /tests/methods/bug649562.c-expected
parent6ad0e233e6f67f5b30810203b43b160e4c529f37 (diff)
downloadvala-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/methods/bug649562.c-expected')
-rw-r--r--tests/methods/bug649562.c-expected12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/methods/bug649562.c-expected b/tests/methods/bug649562.c-expected
index ec1d60c13..ec493286e 100644
--- a/tests/methods/bug649562.c-expected
+++ b/tests/methods/bug649562.c-expected
@@ -4,11 +4,11 @@
#include <glib.h>
static void _vala_main (void);
-static gboolean __lambda4_ (void);
-static gboolean ___lambda4__gsource_func (gpointer self);
+static gboolean _vala_lambda0_ (void);
+static gboolean __vala_lambda0__gsource_func (gpointer self);
static gboolean
-__lambda4_ (void)
+_vala_lambda0_ (void)
{
static const gint b = 3;
gboolean result;
@@ -17,10 +17,10 @@ __lambda4_ (void)
}
static gboolean
-___lambda4__gsource_func (gpointer self)
+__vala_lambda0__gsource_func (gpointer self)
{
gboolean result;
- result = __lambda4_ ();
+ result = _vala_lambda0_ ();
return result;
}
@@ -33,7 +33,7 @@ _vala_main (void)
{
static const gint a = 2;
}
- f = ___lambda4__gsource_func;
+ f = __vala_lambda0__gsource_func;
f_target = NULL;
f_target_destroy_notify = NULL;
(f_target_destroy_notify == NULL) ? NULL : (f_target_destroy_notify (f_target), NULL);