diff options
Diffstat (limited to 'tests/structs')
-rw-r--r-- | tests/structs/bug622422.c-expected | 12 | ||||
-rw-r--r-- | tests/structs/structs.c-expected | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/tests/structs/bug622422.c-expected b/tests/structs/bug622422.c-expected index 2d3b812a8..319f7657f 100644 --- a/tests/structs/bug622422.c-expected +++ b/tests/structs/bug622422.c-expected @@ -39,8 +39,8 @@ VALA_EXTERN void do_foo_lambda (Foo* foo, GValue* value); static Block1Data* block1_data_ref (Block1Data* _data1_); static void block1_data_unref (void * _userdata_); -static void __lambda4_ (Block1Data* _data1_); -static void ___lambda4__test_delegate (gpointer self); +static void _vala_lambda0_ (Block1Data* _data1_); +static void __vala_lambda0__test_delegate (gpointer self); static void _vala_main (void); Foo* @@ -103,7 +103,7 @@ block1_data_unref (void * _userdata_) } static void -__lambda4_ (Block1Data* _data1_) +_vala_lambda0_ (Block1Data* _data1_) { GValue _tmp0_ = {0}; GValue _tmp1_; @@ -124,9 +124,9 @@ __lambda4_ (Block1Data* _data1_) } static void -___lambda4__test_delegate (gpointer self) +__vala_lambda0__test_delegate (gpointer self) { - __lambda4_ (self); + _vala_lambda0_ (self); } void @@ -154,7 +154,7 @@ do_foo_lambda (Foo* foo, } G_IS_VALUE (&_data1_->value) ? (g_value_unset (&_data1_->value), NULL) : NULL; _data1_->value = _tmp3_; - do_foo (___lambda4__test_delegate, _data1_); + do_foo (__vala_lambda0__test_delegate, _data1_); block1_data_unref (_data1_); _data1_ = NULL; } diff --git a/tests/structs/structs.c-expected b/tests/structs/structs.c-expected index 8175ad78f..aa672b343 100644 --- a/tests/structs/structs.c-expected +++ b/tests/structs/structs.c-expected @@ -89,8 +89,8 @@ VALA_EXTERN void test_in_nullable_parameter (SimpleStruct* st); VALA_EXTERN void test_ref_parameter (SimpleStruct* st); VALA_EXTERN void test_out_parameter (SimpleStruct* st); VALA_EXTERN void test_struct_with_func (void); -static void __lambda4_ (void); -static void ___lambda4__func (gpointer self); +static void _vala_lambda0_ (void); +static void __vala_lambda0__func (gpointer self); static void _vala_StructWithFunc_array_free (StructWithFunc * array, gssize array_length); static void _vala_main (void); @@ -388,14 +388,14 @@ test_out_parameter (SimpleStruct* st) } static void -__lambda4_ (void) +_vala_lambda0_ (void) { } static void -___lambda4__func (gpointer self) +__vala_lambda0__func (gpointer self) { - __lambda4_ (); + _vala_lambda0_ (); } static void @@ -419,7 +419,7 @@ test_struct_with_func (void) StructWithFunc* _tmp1_; gint foes_length1; gint _foes_size_; - struct_with_func_init (&_tmp0_, ___lambda4__func, NULL, NULL); + struct_with_func_init (&_tmp0_, __vala_lambda0__func, NULL, NULL); _tmp1_ = g_new0 (StructWithFunc, 1); _tmp1_[0] = _tmp0_; foes = _tmp1_; |