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/methods/array-length-type.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/methods/array-length-type.c-expected')
-rw-r--r-- | tests/methods/array-length-type.c-expected | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/methods/array-length-type.c-expected b/tests/methods/array-length-type.c-expected index 294185b86..93ca211b0 100644 --- a/tests/methods/array-length-type.c-expected +++ b/tests/methods/array-length-type.c-expected @@ -187,15 +187,15 @@ VALA_EXTERN gint* foo_func (gint* p, static gint* _vala_array_dup4 (gint* self, gssize length); static void _vala_main (void); -static gint* ___lambda4_ (gint* a, - guint8 a_length1, - guint8* result_length1); +static gint* _vala_lambda0_ (gint* a, + guint8 a_length1, + guint8* result_length1); static gint* _vala_array_dup5 (gint* self, gssize length); -static gint* ____lambda4__foo_func (gint* p, - guint8 p_length1, - guint8* result_length1, - gpointer self); +static gint* __vala_lambda0__foo_func (gint* p, + guint8 p_length1, + guint8* result_length1, + gpointer self); static inline gpointer _vala_memdup2 (gconstpointer mem, gsize byte_size); @@ -1162,9 +1162,9 @@ _vala_array_dup5 (gint* self, } static gint* -___lambda4_ (gint* a, - guint8 a_length1, - guint8* result_length1) +_vala_lambda0_ (gint* a, + guint8 a_length1, + guint8* result_length1) { gint* _tmp0_; gint _tmp0__length1; @@ -1184,13 +1184,13 @@ ___lambda4_ (gint* a, } static gint* -____lambda4__foo_func (gint* p, - guint8 p_length1, - guint8* result_length1, - gpointer self) +__vala_lambda0__foo_func (gint* p, + guint8 p_length1, + guint8* result_length1, + gpointer self) { gint* result; - result = ___lambda4_ (p, p_length1, result_length1); + result = _vala_lambda0_ (p, p_length1, result_length1); return result; } @@ -1216,7 +1216,7 @@ _vala_main (void) gint* _tmp6_; gint _tmp6__length1; gint _tmp7_; - f = ____lambda4__foo_func; + f = __vala_lambda0__foo_func; f_target = NULL; f_target_destroy_notify = NULL; _tmp0_ = g_new0 (gint, 255); |