summaryrefslogtreecommitdiff
path: root/tests/threads/threadpool.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/threads/threadpool.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/threads/threadpool.c-expected')
-rw-r--r--tests/threads/threadpool.c-expected16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/threads/threadpool.c-expected b/tests/threads/threadpool.c-expected
index 615c349f5..97c75e2e7 100644
--- a/tests/threads/threadpool.c-expected
+++ b/tests/threads/threadpool.c-expected
@@ -26,12 +26,12 @@ VALA_EXTERN gboolean success;
gboolean success = FALSE;
static void _vala_main (void);
-static void ___lambda4_ (gchar* s);
-static void ____lambda4__gfunc (gpointer data,
- gpointer self);
+static void _vala_lambda0_ (gchar* s);
+static void __vala_lambda0__gfunc (gpointer data,
+ gpointer self);
static void
-___lambda4_ (gchar* s)
+_vala_lambda0_ (gchar* s)
{
gboolean _tmp0_ = FALSE;
g_return_if_fail (s != NULL);
@@ -46,10 +46,10 @@ ___lambda4_ (gchar* s)
}
static void
-____lambda4__gfunc (gpointer data,
- gpointer self)
+__vala_lambda0__gfunc (gpointer data,
+ gpointer self)
{
- ___lambda4_ ((gchar*) data);
+ _vala_lambda0_ ((gchar*) data);
}
static void
@@ -63,7 +63,7 @@ _vala_main (void)
gchar* _tmp2_;
GThreadPool* _tmp3_;
gchar* _tmp4_;
- _tmp0_ = g_thread_pool_new (____lambda4__gfunc, NULL, 2, TRUE, &_inner_error0_);
+ _tmp0_ = g_thread_pool_new (__vala_lambda0__gfunc, NULL, 2, TRUE, &_inner_error0_);
pool = _tmp0_;
if (G_UNLIKELY (_inner_error0_ != NULL)) {
goto __catch0_g_error;