diff options
Diffstat (limited to 'tests/dbus/dicts_client.c-expected')
-rw-r--r-- | tests/dbus/dicts_client.c-expected | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/tests/dbus/dicts_client.c-expected b/tests/dbus/dicts_client.c-expected index 6e6aee9ea..f8c01f2bd 100644 --- a/tests/dbus/dicts_client.c-expected +++ b/tests/dbus/dicts_client.c-expected @@ -355,28 +355,28 @@ static gchar** _variant_get1 (GVariant* value, gint* result_length1) { - gchar** _tmp10_; - gint _tmp10__length; - gint _tmp10__size; - gint _tmp10__length1; - GVariantIter _tmp11_; - GVariant* _tmp12_; - _tmp10_ = g_new (gchar*, 5); - _tmp10__length = 0; - _tmp10__size = 4; - _tmp10__length1 = 0; - g_variant_iter_init (&_tmp11_, value); - for (; (_tmp12_ = g_variant_iter_next_value (&_tmp11_)) != NULL; _tmp10__length1++) { - if (_tmp10__size == _tmp10__length) { - _tmp10__size = 2 * _tmp10__size; - _tmp10_ = g_renew (gchar*, _tmp10_, _tmp10__size + 1); + gchar** _tmp0_; + gint _tmp0__length; + gint _tmp0__size; + gint _tmp0__length1; + GVariantIter _tmp1_; + GVariant* _tmp2_; + _tmp0_ = g_new (gchar*, 5); + _tmp0__length = 0; + _tmp0__size = 4; + _tmp0__length1 = 0; + g_variant_iter_init (&_tmp1_, value); + for (; (_tmp2_ = g_variant_iter_next_value (&_tmp1_)) != NULL; _tmp0__length1++) { + if (_tmp0__size == _tmp0__length) { + _tmp0__size = 2 * _tmp0__size; + _tmp0_ = g_renew (gchar*, _tmp0_, _tmp0__size + 1); } - _tmp10_[_tmp10__length++] = g_variant_dup_string (_tmp12_, NULL); - g_variant_unref (_tmp12_); + _tmp0_[_tmp0__length++] = g_variant_dup_string (_tmp2_, NULL); + g_variant_unref (_tmp2_); } - *result_length1 = _tmp10__length1; - _tmp10_[_tmp10__length] = NULL; - return _tmp10_; + *result_length1 = _tmp0__length1; + _tmp0_[_tmp0__length] = NULL; + return _tmp0_; } static void @@ -399,9 +399,9 @@ _vala_main (void) gint _tmp9__length1 = 0; gint s_length1; gint _s_size_; - gboolean _tmp13_ = FALSE; - gchar** _tmp14_; - gint _tmp14__length1; + gboolean _tmp10_ = FALSE; + gchar** _tmp11_; + gint _tmp11__length1; GError* _inner_error0_ = NULL; _tmp0_ = (Test*) g_initable_new (TYPE_TEST_PROXY, NULL, &_inner_error0_, "g-flags", 0, "g-name", "org.example.Test", "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/example/test", "g-interface-name", "org.example.Test", NULL); test = (Test*) _tmp0_; @@ -432,20 +432,20 @@ _vala_main (void) s = _tmp9_; s_length1 = _tmp9__length1; _s_size_ = s_length1; - _tmp14_ = s; - _tmp14__length1 = s_length1; - if (_tmp14__length1 == 1) { - gchar** _tmp15_; - gint _tmp15__length1; - const gchar* _tmp16_; - _tmp15_ = s; - _tmp15__length1 = s_length1; - _tmp16_ = _tmp15_[0]; - _tmp13_ = g_strcmp0 (_tmp16_, "hello") == 0; + _tmp11_ = s; + _tmp11__length1 = s_length1; + if (_tmp11__length1 == 1) { + gchar** _tmp12_; + gint _tmp12__length1; + const gchar* _tmp13_; + _tmp12_ = s; + _tmp12__length1 = s_length1; + _tmp13_ = _tmp12_[0]; + _tmp10_ = g_strcmp0 (_tmp13_, "hello") == 0; } else { - _tmp13_ = FALSE; + _tmp10_ = FALSE; } - _vala_assert (_tmp13_, "s.length == 1 && s[0] == \"hello\""); + _vala_assert (_tmp10_, "s.length == 1 && s[0] == \"hello\""); s = (_vala_array_free (s, s_length1, (GDestroyNotify) g_free), NULL); _g_variant_unref0 (v); _g_hash_table_unref0 (dict); |