summaryrefslogtreecommitdiff
path: root/tests/delegates/implicit-local-variable.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/delegates/implicit-local-variable.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/delegates/implicit-local-variable.c-expected')
-rw-r--r--tests/delegates/implicit-local-variable.c-expected20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/delegates/implicit-local-variable.c-expected b/tests/delegates/implicit-local-variable.c-expected
index 489221096..a05d620de 100644
--- a/tests/delegates/implicit-local-variable.c-expected
+++ b/tests/delegates/implicit-local-variable.c-expected
@@ -7,13 +7,13 @@ typedef gboolean (*GSourceDispatchFunc) (GSource* source, GSourceFunc _callback,
#define _g_source_unref0(var) ((var == NULL) ? NULL : (var = (g_source_unref (var), NULL)))
static void _vala_main (void);
-static gboolean __lambda4_ (void);
-static gboolean ___lambda4__gsource_dispatch_func (GSource* source,
- GSourceFunc _callback,
- gpointer _callback_target);
+static gboolean _vala_lambda0_ (void);
+static gboolean __vala_lambda0__gsource_dispatch_func (GSource* source,
+ GSourceFunc _callback,
+ gpointer _callback_target);
static gboolean
-__lambda4_ (void)
+_vala_lambda0_ (void)
{
gboolean result;
result = FALSE;
@@ -21,12 +21,12 @@ __lambda4_ (void)
}
static gboolean
-___lambda4__gsource_dispatch_func (GSource* source,
- GSourceFunc _callback,
- gpointer _callback_target)
+__vala_lambda0__gsource_dispatch_func (GSource* source,
+ GSourceFunc _callback,
+ gpointer _callback_target)
{
gboolean result;
- result = __lambda4_ ();
+ result = _vala_lambda0_ ();
return result;
}
@@ -40,7 +40,7 @@ _vala_main (void)
GSourceDispatchFunc _tmp2_;
_tmp0_.prepare = NULL;
_tmp0_.check = NULL;
- _tmp0_.dispatch = ___lambda4__gsource_dispatch_func;
+ _tmp0_.dispatch = __vala_lambda0__gsource_dispatch_func;
_tmp0_.finalize = NULL;
foo = _tmp0_;
bar = NULL;