1588
1566
_tmp25_ = vala_member_access_get_type_arguments (ma);
1589
1567
_tmp26_ = _tmp25_;
1590
1568
_tmp27_ = vala_list_get (_tmp26_, 0);
1591
type_arg = (_tmp28_ = VALA_OBJECT_TYPE ((ValaDataType*) _tmp27_), _vala_iterable_unref0 (_tmp26_), _tmp28_);
1592
_tmp29_ = vala_object_type_get_type_symbol (type_arg);
1593
_tmp30_ = _vala_code_node_ref0 (VALA_INTERFACE (_tmp29_));
1595
_tmp31_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) iface);
1596
dbus_iface_name = _tmp31_;
1597
if (dbus_iface_name == NULL) {
1598
ValaSourceReference* _tmp32_ = NULL;
1569
type_arg = (_tmp28_ = (ValaDataType*) _tmp27_, _vala_iterable_unref0 (_tmp26_), _tmp28_);
1571
dbus_iface_name = NULL;
1572
_tmp30_ = _vala_code_node_ref0 ((_tmp29_ = type_arg, VALA_IS_OBJECT_TYPE (_tmp29_) ? ((ValaObjectType*) _tmp29_) : NULL));
1573
object_type = _tmp30_;
1574
if (object_type != NULL) {
1575
ValaObjectTypeSymbol* _tmp31_ = NULL;
1576
ValaInterface* _tmp32_;
1577
ValaInterface* iface;
1599
1578
gchar* _tmp33_ = NULL;
1600
1579
gchar* _tmp34_;
1601
gchar* _tmp35_ = NULL;
1603
_tmp32_ = vala_code_node_get_source_reference ((ValaCodeNode*) expr);
1604
_tmp33_ = vala_symbol_get_full_name ((ValaSymbol*) iface);
1581
gchar* _tmp41_ = NULL;
1583
gchar* _tmp43_ = NULL;
1585
ValaCCodeIdentifier* _tmp45_ = NULL;
1586
ValaCCodeExpression* _tmp46_;
1587
gchar* _tmp47_ = NULL;
1589
gchar* _tmp49_ = NULL;
1591
ValaCCodeConstant* _tmp51_ = NULL;
1592
ValaCCodeExpression* _tmp52_;
1593
_tmp31_ = vala_object_type_get_type_symbol (object_type);
1594
_tmp32_ = _vala_code_node_ref0 (VALA_INTERFACE (_tmp31_));
1596
_tmp33_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) iface);
1605
1597
_tmp34_ = _tmp33_;
1606
_tmp35_ = g_strdup_printf ("`%s' is not a D-Bus interface", _tmp34_);
1608
vala_report_error (_tmp32_, _tmp36_);
1611
_g_free0 (dbus_iface_name);
1598
if ((_tmp35_ = _tmp34_ == NULL, _g_free0 (_tmp34_), _tmp35_)) {
1599
ValaSourceReference* _tmp36_ = NULL;
1600
gchar* _tmp37_ = NULL;
1602
gchar* _tmp39_ = NULL;
1604
_tmp36_ = vala_code_node_get_source_reference ((ValaCodeNode*) expr);
1605
_tmp37_ = vala_symbol_get_full_name ((ValaSymbol*) iface);
1607
_tmp39_ = g_strdup_printf ("`%s' is not a D-Bus interface", _tmp38_);
1609
vala_report_error (_tmp36_, _tmp40_);
1612
_vala_code_node_unref0 (iface);
1613
_vala_code_node_unref0 (object_type);
1614
_vala_ccode_node_unref0 (dbus_iface_name);
1615
_vala_ccode_node_unref0 (proxy_type);
1616
_vala_code_node_unref0 (type_arg);
1617
_vala_code_node_unref0 (ma);
1618
_vala_code_node_unref0 (mtype);
1621
_tmp41_ = vala_typesymbol_get_type_id ((ValaTypeSymbol*) iface);
1623
_tmp43_ = g_strdup_printf ("%s_PROXY", _tmp42_);
1625
_tmp45_ = vala_ccode_identifier_new (_tmp44_);
1626
_tmp46_ = (ValaCCodeExpression*) _tmp45_;
1627
_vala_ccode_node_unref0 (proxy_type);
1628
proxy_type = _tmp46_;
1631
_tmp47_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) iface);
1633
_tmp49_ = g_strdup_printf ("\"%s\"", _tmp48_);
1635
_tmp51_ = vala_ccode_constant_new (_tmp50_);
1636
_tmp52_ = (ValaCCodeExpression*) _tmp51_;
1637
_vala_ccode_node_unref0 (dbus_iface_name);
1638
dbus_iface_name = _tmp52_;
1612
1641
_vala_code_node_unref0 (iface);
1613
_vala_code_node_unref0 (type_arg);
1614
_vala_code_node_unref0 (ma);
1615
_vala_code_node_unref0 (mtype);
1643
ValaCCodeIdentifier* _tmp53_ = NULL;
1644
ValaCCodeIdentifier* _tmp54_;
1645
ValaCCodeFunctionCall* _tmp55_ = NULL;
1646
ValaCCodeFunctionCall* _tmp56_;
1647
ValaCCodeFunctionCall* quark;
1648
ValaCCodeConstant* _tmp57_ = NULL;
1649
ValaCCodeConstant* _tmp58_;
1650
ValaCCodeIdentifier* _tmp59_ = NULL;
1651
ValaCCodeIdentifier* _tmp60_;
1652
ValaCCodeFunctionCall* _tmp61_ = NULL;
1653
ValaCCodeFunctionCall* _tmp62_;
1654
ValaCCodeFunctionCall* get_qdata;
1655
ValaCCodeExpression* _tmp63_ = NULL;
1656
ValaCCodeExpression* _tmp64_;
1657
ValaCCodeCastExpression* _tmp65_ = NULL;
1658
ValaCCodeCastExpression* _tmp66_;
1659
ValaCCodeFunctionCall* _tmp67_ = NULL;
1660
ValaCCodeExpression* _tmp68_;
1661
ValaCCodeIdentifier* _tmp69_ = NULL;
1662
ValaCCodeIdentifier* _tmp70_;
1663
ValaCCodeFunctionCall* _tmp71_ = NULL;
1664
ValaCCodeFunctionCall* _tmp72_;
1665
ValaCCodeConstant* _tmp73_ = NULL;
1666
ValaCCodeConstant* _tmp74_;
1667
ValaCCodeIdentifier* _tmp75_ = NULL;
1668
ValaCCodeIdentifier* _tmp76_;
1669
ValaCCodeFunctionCall* _tmp77_ = NULL;
1670
ValaCCodeFunctionCall* _tmp78_;
1671
ValaCCodeExpression* _tmp79_ = NULL;
1672
ValaCCodeExpression* _tmp80_;
1673
ValaCCodeExpression* _tmp81_;
1674
ValaCCodeExpression* _tmp82_;
1675
_tmp53_ = vala_ccode_identifier_new ("g_quark_from_static_string");
1677
_tmp55_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp54_);
1678
quark = (_tmp56_ = _tmp55_, _vala_ccode_node_unref0 (_tmp54_), _tmp56_);
1679
_tmp57_ = vala_ccode_constant_new ("\"vala-dbus-proxy-type\"");
1681
vala_ccode_function_call_add_argument (quark, (ValaCCodeExpression*) _tmp58_);
1682
_vala_ccode_node_unref0 (_tmp58_);
1683
_tmp59_ = vala_ccode_identifier_new ("g_type_get_qdata");
1685
_tmp61_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp60_);
1686
get_qdata = (_tmp62_ = _tmp61_, _vala_ccode_node_unref0 (_tmp60_), _tmp62_);
1687
_tmp63_ = vala_ccode_base_module_get_type_id_expression ((ValaCCodeBaseModule*) self, type_arg, FALSE);
1689
vala_ccode_function_call_add_argument (get_qdata, _tmp64_);
1690
_vala_ccode_node_unref0 (_tmp64_);
1691
vala_ccode_function_call_add_argument (get_qdata, (ValaCCodeExpression*) quark);
1692
_tmp65_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) get_qdata, "GType (*) (void)");
1694
_tmp67_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp66_);
1695
_tmp68_ = (ValaCCodeExpression*) _tmp67_;
1696
_vala_ccode_node_unref0 (proxy_type);
1697
proxy_type = _tmp68_;
1698
_vala_ccode_node_unref0 (_tmp66_);
1699
_tmp69_ = vala_ccode_identifier_new ("g_quark_from_static_string");
1701
_tmp71_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp70_);
1703
_vala_ccode_node_unref0 (quark);
1705
_vala_ccode_node_unref0 (_tmp70_);
1706
_tmp73_ = vala_ccode_constant_new ("\"vala-dbus-interface-name\"");
1708
vala_ccode_function_call_add_argument (quark, (ValaCCodeExpression*) _tmp74_);
1709
_vala_ccode_node_unref0 (_tmp74_);
1710
_tmp75_ = vala_ccode_identifier_new ("g_type_get_qdata");
1712
_tmp77_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp76_);
1714
_vala_ccode_node_unref0 (get_qdata);
1715
get_qdata = _tmp78_;
1716
_vala_ccode_node_unref0 (_tmp76_);
1717
_tmp79_ = vala_ccode_base_module_get_type_id_expression ((ValaCCodeBaseModule*) self, type_arg, FALSE);
1719
vala_ccode_function_call_add_argument (get_qdata, _tmp80_);
1720
_vala_ccode_node_unref0 (_tmp80_);
1721
vala_ccode_function_call_add_argument (get_qdata, (ValaCCodeExpression*) quark);
1722
_tmp81_ = _vala_ccode_node_ref0 ((ValaCCodeExpression*) get_qdata);
1724
_vala_ccode_node_unref0 (dbus_iface_name);
1725
dbus_iface_name = _tmp82_;
1726
_vala_ccode_node_unref0 (get_qdata);
1727
_vala_ccode_node_unref0 (quark);
1618
1729
base_arg_index = 0;
1619
1730
if (bus_get_proxy_async) {
1622
_tmp37_ = bus_get_proxy_sync;
1733
_tmp83_ = bus_get_proxy_sync;
1625
1736
base_arg_index = 1;
1627
_tmp38_ = vala_method_call_get_argument_list (expr);
1629
_tmp39_ = vala_list_get (args, base_arg_index + 0);
1630
name = (ValaExpression*) _tmp39_;
1631
_tmp40_ = vala_list_get (args, base_arg_index + 1);
1632
object_path = (ValaExpression*) _tmp40_;
1633
_tmp41_ = vala_list_get (args, base_arg_index + 2);
1634
flags = (ValaExpression*) _tmp41_;
1635
_tmp42_ = vala_list_get (args, base_arg_index + 3);
1636
cancellable = (ValaExpression*) _tmp42_;
1738
_tmp84_ = vala_method_call_get_argument_list (expr);
1740
_tmp85_ = vala_list_get (args, base_arg_index + 0);
1741
name = (ValaExpression*) _tmp85_;
1742
_tmp86_ = vala_list_get (args, base_arg_index + 1);
1743
object_path = (ValaExpression*) _tmp86_;
1744
_tmp87_ = vala_list_get (args, base_arg_index + 2);
1745
flags = (ValaExpression*) _tmp87_;
1746
_tmp88_ = vala_list_get (args, base_arg_index + 3);
1747
cancellable = (ValaExpression*) _tmp88_;
1637
1748
vala_ccode_base_module_set_current_method_inner_error ((ValaCCodeBaseModule*) self, TRUE);
1639
1750
if (bus_get_proxy_async) {
1642
_tmp43_ = conn_get_proxy_async;
1645
ValaCCodeIdentifier* _tmp44_ = NULL;
1646
ValaCCodeIdentifier* _tmp45_;
1647
ValaCCodeFunctionCall* _tmp46_ = NULL;
1648
ValaCCodeFunctionCall* _tmp47_;
1649
_tmp44_ = vala_ccode_identifier_new ("g_async_initable_new_async");
1651
_tmp46_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp45_);
1653
_vala_ccode_node_unref0 (ccall);
1655
_vala_ccode_node_unref0 (_tmp45_);
1657
ValaCCodeIdentifier* _tmp48_ = NULL;
1658
ValaCCodeIdentifier* _tmp49_;
1659
ValaCCodeFunctionCall* _tmp50_ = NULL;
1660
ValaCCodeFunctionCall* _tmp51_;
1661
_tmp48_ = vala_ccode_identifier_new ("g_initable_new");
1663
_tmp50_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp49_);
1665
_vala_ccode_node_unref0 (ccall);
1667
_vala_ccode_node_unref0 (_tmp49_);
1669
_tmp52_ = vala_typesymbol_get_type_id ((ValaTypeSymbol*) iface);
1671
_tmp54_ = g_strdup_printf ("%s_PROXY", _tmp53_);
1673
_tmp56_ = vala_ccode_identifier_new (_tmp55_);
1675
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp57_);
1676
_vala_ccode_node_unref0 (_tmp57_);
1753
_tmp89_ = conn_get_proxy_async;
1756
ValaCCodeIdentifier* _tmp90_ = NULL;
1757
ValaCCodeIdentifier* _tmp91_;
1758
ValaCCodeFunctionCall* _tmp92_ = NULL;
1759
ValaCCodeFunctionCall* _tmp93_;
1760
_tmp90_ = vala_ccode_identifier_new ("g_async_initable_new_async");
1762
_tmp92_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp91_);
1764
_vala_ccode_node_unref0 (ccall);
1766
_vala_ccode_node_unref0 (_tmp91_);
1768
ValaCCodeIdentifier* _tmp94_ = NULL;
1769
ValaCCodeIdentifier* _tmp95_;
1770
ValaCCodeFunctionCall* _tmp96_ = NULL;
1771
ValaCCodeFunctionCall* _tmp97_;
1772
_tmp94_ = vala_ccode_identifier_new ("g_initable_new");
1774
_tmp96_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp95_);
1776
_vala_ccode_node_unref0 (ccall);
1778
_vala_ccode_node_unref0 (_tmp95_);
1780
vala_ccode_function_call_add_argument (ccall, proxy_type);
1679
1781
if (bus_get_proxy_async) {
1682
_tmp58_ = conn_get_proxy_async;
1784
_tmp98_ = conn_get_proxy_async;
1685
ValaCCodeConstant* _tmp59_ = NULL;
1686
ValaCCodeConstant* _tmp60_;
1687
_tmp59_ = vala_ccode_constant_new ("0");
1689
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp60_);
1690
_vala_ccode_node_unref0 (_tmp60_);
1787
ValaCCodeConstant* _tmp99_ = NULL;
1788
ValaCCodeConstant* _tmp100_;
1789
_tmp99_ = vala_ccode_constant_new ("0");
1791
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp100_);
1792
_vala_ccode_node_unref0 (_tmp100_);
1692
1794
vala_code_node_emit ((ValaCodeNode*) cancellable, (ValaCodeGenerator*) self);
1693
_tmp61_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, cancellable);
1695
vala_ccode_function_call_add_argument (ccall, _tmp62_);
1696
_vala_ccode_node_unref0 (_tmp62_);
1795
_tmp101_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, cancellable);
1796
_tmp102_ = _tmp101_;
1797
vala_ccode_function_call_add_argument (ccall, _tmp102_);
1798
_vala_ccode_node_unref0 (_tmp102_);
1697
1799
if (bus_get_proxy_async) {
1700
_tmp63_ = conn_get_proxy_async;
1802
_tmp103_ = conn_get_proxy_async;
1704
_tmp64_ = vala_method_call_get_is_yield_expression (expr);
1706
ValaMethod* _tmp65_ = NULL;
1707
gchar* _tmp66_ = NULL;
1709
ValaCCodeIdentifier* _tmp68_ = NULL;
1710
ValaCCodeIdentifier* _tmp69_;
1711
ValaCCodeIdentifier* _tmp70_ = NULL;
1712
ValaCCodeIdentifier* _tmp71_;
1713
_tmp65_ = vala_ccode_base_module_get_current_method ((ValaCCodeBaseModule*) self);
1714
_tmp66_ = vala_ccode_base_module_generate_ready_function ((ValaCCodeBaseModule*) self, _tmp65_);
1716
_tmp68_ = vala_ccode_identifier_new (_tmp67_);
1718
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp69_);
1719
_vala_ccode_node_unref0 (_tmp69_);
1721
_tmp70_ = vala_ccode_identifier_new ("data");
1723
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp71_);
1724
_vala_ccode_node_unref0 (_tmp71_);
1806
_tmp104_ = vala_method_call_get_is_yield_expression (expr);
1808
ValaMethod* _tmp105_ = NULL;
1809
gchar* _tmp106_ = NULL;
1811
ValaCCodeIdentifier* _tmp108_ = NULL;
1812
ValaCCodeIdentifier* _tmp109_;
1813
ValaCCodeIdentifier* _tmp110_ = NULL;
1814
ValaCCodeIdentifier* _tmp111_;
1815
_tmp105_ = vala_ccode_base_module_get_current_method ((ValaCCodeBaseModule*) self);
1816
_tmp106_ = vala_ccode_base_module_generate_ready_function ((ValaCCodeBaseModule*) self, _tmp105_);
1817
_tmp107_ = _tmp106_;
1818
_tmp108_ = vala_ccode_identifier_new (_tmp107_);
1819
_tmp109_ = _tmp108_;
1820
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp109_);
1821
_vala_ccode_node_unref0 (_tmp109_);
1822
_g_free0 (_tmp107_);
1823
_tmp110_ = vala_ccode_identifier_new ("data");
1824
_tmp111_ = _tmp110_;
1825
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp111_);
1826
_vala_ccode_node_unref0 (_tmp111_);
1727
ValaCCodeExpression* _tmp72_ = NULL;
1728
ValaCCodeExpression* _tmp73_;
1729
ValaCCodeUnaryExpression* _tmp74_ = NULL;
1730
ValaCCodeUnaryExpression* _tmp75_;
1731
_tmp72_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_");
1733
_tmp74_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp73_);
1735
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp75_);
1736
_vala_ccode_node_unref0 (_tmp75_);
1737
_vala_ccode_node_unref0 (_tmp73_);
1829
ValaCCodeExpression* _tmp112_ = NULL;
1830
ValaCCodeExpression* _tmp113_;
1831
ValaCCodeUnaryExpression* _tmp114_ = NULL;
1832
ValaCCodeUnaryExpression* _tmp115_;
1833
_tmp112_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_");
1834
_tmp113_ = _tmp112_;
1835
_tmp114_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp113_);
1836
_tmp115_ = _tmp114_;
1837
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp115_);
1838
_vala_ccode_node_unref0 (_tmp115_);
1839
_vala_ccode_node_unref0 (_tmp113_);
1739
_tmp76_ = vala_ccode_constant_new ("\"g-flags\"");
1741
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp77_);
1742
_vala_ccode_node_unref0 (_tmp77_);
1743
_tmp78_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, flags);
1745
vala_ccode_function_call_add_argument (ccall, _tmp79_);
1746
_vala_ccode_node_unref0 (_tmp79_);
1747
_tmp80_ = vala_ccode_constant_new ("\"g-name\"");
1749
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp81_);
1750
_vala_ccode_node_unref0 (_tmp81_);
1841
_tmp116_ = vala_ccode_constant_new ("\"g-flags\"");
1842
_tmp117_ = _tmp116_;
1843
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp117_);
1844
_vala_ccode_node_unref0 (_tmp117_);
1845
_tmp118_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, flags);
1846
_tmp119_ = _tmp118_;
1847
vala_ccode_function_call_add_argument (ccall, _tmp119_);
1848
_vala_ccode_node_unref0 (_tmp119_);
1849
_tmp120_ = vala_ccode_constant_new ("\"g-name\"");
1850
_tmp121_ = _tmp120_;
1851
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp121_);
1852
_vala_ccode_node_unref0 (_tmp121_);
1751
1853
vala_code_node_emit ((ValaCodeNode*) name, (ValaCodeGenerator*) self);
1752
_tmp82_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, name);
1754
vala_ccode_function_call_add_argument (ccall, _tmp83_);
1755
_vala_ccode_node_unref0 (_tmp83_);
1854
_tmp122_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, name);
1855
_tmp123_ = _tmp122_;
1856
vala_ccode_function_call_add_argument (ccall, _tmp123_);
1857
_vala_ccode_node_unref0 (_tmp123_);
1756
1858
if (bus_get_proxy_async) {
1759
_tmp84_ = bus_get_proxy_sync;
1861
_tmp124_ = bus_get_proxy_sync;
1762
gpointer _tmp85_ = NULL;
1864
gpointer _tmp125_ = NULL;
1763
1865
ValaExpression* bus_type;
1764
ValaCCodeConstant* _tmp86_ = NULL;
1765
ValaCCodeConstant* _tmp87_;
1766
ValaCCodeExpression* _tmp88_ = NULL;
1767
ValaCCodeExpression* _tmp89_;
1768
_tmp85_ = vala_list_get (args, 0);
1769
bus_type = (ValaExpression*) _tmp85_;
1770
_tmp86_ = vala_ccode_constant_new ("\"g-bus-type\"");
1772
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp87_);
1773
_vala_ccode_node_unref0 (_tmp87_);
1866
ValaCCodeConstant* _tmp126_ = NULL;
1867
ValaCCodeConstant* _tmp127_;
1868
ValaCCodeExpression* _tmp128_ = NULL;
1869
ValaCCodeExpression* _tmp129_;
1870
_tmp125_ = vala_list_get (args, 0);
1871
bus_type = (ValaExpression*) _tmp125_;
1872
_tmp126_ = vala_ccode_constant_new ("\"g-bus-type\"");
1873
_tmp127_ = _tmp126_;
1874
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp127_);
1875
_vala_ccode_node_unref0 (_tmp127_);
1774
1876
vala_code_node_emit ((ValaCodeNode*) bus_type, (ValaCodeGenerator*) self);
1775
_tmp88_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, bus_type);
1777
vala_ccode_function_call_add_argument (ccall, _tmp89_);
1778
_vala_ccode_node_unref0 (_tmp89_);
1877
_tmp128_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, bus_type);
1878
_tmp129_ = _tmp128_;
1879
vala_ccode_function_call_add_argument (ccall, _tmp129_);
1880
_vala_ccode_node_unref0 (_tmp129_);
1779
1881
_vala_code_node_unref0 (bus_type);
1781
ValaExpression* _tmp90_ = NULL;
1782
ValaExpression* _tmp91_ = NULL;
1783
ValaExpression* _tmp92_;
1883
ValaExpression* _tmp130_ = NULL;
1884
ValaExpression* _tmp131_ = NULL;
1885
ValaExpression* _tmp132_;
1784
1886
ValaExpression* connection;
1785
ValaCCodeConstant* _tmp93_ = NULL;
1786
ValaCCodeConstant* _tmp94_;
1787
ValaCCodeExpression* _tmp95_ = NULL;
1788
ValaCCodeExpression* _tmp96_;
1789
_tmp90_ = vala_method_call_get_call (expr);
1790
_tmp91_ = vala_member_access_get_inner (VALA_MEMBER_ACCESS (_tmp90_));
1791
_tmp92_ = _vala_code_node_ref0 (_tmp91_);
1792
connection = _tmp92_;
1793
_tmp93_ = vala_ccode_constant_new ("\"g-connection\"");
1795
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp94_);
1796
_vala_ccode_node_unref0 (_tmp94_);
1887
ValaCCodeConstant* _tmp133_ = NULL;
1888
ValaCCodeConstant* _tmp134_;
1889
ValaCCodeExpression* _tmp135_ = NULL;
1890
ValaCCodeExpression* _tmp136_;
1891
_tmp130_ = vala_method_call_get_call (expr);
1892
_tmp131_ = vala_member_access_get_inner (VALA_MEMBER_ACCESS (_tmp130_));
1893
_tmp132_ = _vala_code_node_ref0 (_tmp131_);
1894
connection = _tmp132_;
1895
_tmp133_ = vala_ccode_constant_new ("\"g-connection\"");
1896
_tmp134_ = _tmp133_;
1897
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp134_);
1898
_vala_ccode_node_unref0 (_tmp134_);
1797
1899
vala_code_node_emit ((ValaCodeNode*) connection, (ValaCodeGenerator*) self);
1798
_tmp95_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, connection);
1800
vala_ccode_function_call_add_argument (ccall, _tmp96_);
1801
_vala_ccode_node_unref0 (_tmp96_);
1900
_tmp135_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, connection);
1901
_tmp136_ = _tmp135_;
1902
vala_ccode_function_call_add_argument (ccall, _tmp136_);
1903
_vala_ccode_node_unref0 (_tmp136_);
1802
1904
_vala_code_node_unref0 (connection);
1804
_tmp97_ = vala_ccode_constant_new ("\"g-object-path\"");
1806
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp98_);
1807
_vala_ccode_node_unref0 (_tmp98_);
1906
_tmp137_ = vala_ccode_constant_new ("\"g-object-path\"");
1907
_tmp138_ = _tmp137_;
1908
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp138_);
1909
_vala_ccode_node_unref0 (_tmp138_);
1808
1910
vala_code_node_emit ((ValaCodeNode*) object_path, (ValaCodeGenerator*) self);
1809
_tmp99_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, object_path);
1811
vala_ccode_function_call_add_argument (ccall, _tmp100_);
1812
_vala_ccode_node_unref0 (_tmp100_);
1813
_tmp101_ = vala_ccode_constant_new ("\"g-interface-name\"");
1814
_tmp102_ = _tmp101_;
1815
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp102_);
1816
_vala_ccode_node_unref0 (_tmp102_);
1817
_tmp103_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) iface);
1818
_tmp104_ = _tmp103_;
1819
_tmp105_ = g_strdup_printf ("\"%s\"", _tmp104_);
1820
_tmp106_ = _tmp105_;
1821
_tmp107_ = vala_ccode_constant_new (_tmp106_);
1822
_tmp108_ = _tmp107_;
1823
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp108_);
1824
_vala_ccode_node_unref0 (_tmp108_);
1825
_g_free0 (_tmp106_);
1826
_g_free0 (_tmp104_);
1827
_tmp109_ = vala_ccode_constant_new ("NULL");
1828
_tmp110_ = _tmp109_;
1829
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp110_);
1830
_vala_ccode_node_unref0 (_tmp110_);
1911
_tmp139_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, object_path);
1912
_tmp140_ = _tmp139_;
1913
vala_ccode_function_call_add_argument (ccall, _tmp140_);
1914
_vala_ccode_node_unref0 (_tmp140_);
1915
_tmp141_ = vala_ccode_constant_new ("\"g-interface-name\"");
1916
_tmp142_ = _tmp141_;
1917
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp142_);
1918
_vala_ccode_node_unref0 (_tmp142_);
1919
vala_ccode_function_call_add_argument (ccall, dbus_iface_name);
1920
_tmp143_ = vala_ccode_constant_new ("NULL");
1921
_tmp144_ = _tmp143_;
1922
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp144_);
1923
_vala_ccode_node_unref0 (_tmp144_);
1831
1924
if (bus_get_proxy_async) {
1834
_tmp111_ = conn_get_proxy_async;
1927
_tmp145_ = conn_get_proxy_async;
1838
_tmp112_ = vala_method_call_get_is_yield_expression (expr);
1931
_tmp146_ = vala_method_call_get_is_yield_expression (expr);
1842
ValaCCodeFunction* _tmp114_ = NULL;
1843
ValaCCodeIdentifier* _tmp115_ = NULL;
1844
ValaCCodeIdentifier* _tmp116_;
1845
ValaCCodeMemberAccess* _tmp117_ = NULL;
1846
ValaCCodeMemberAccess* _tmp118_;
1847
gchar* _tmp119_ = NULL;
1849
ValaCCodeConstant* _tmp121_ = NULL;
1850
ValaCCodeConstant* _tmp122_;
1851
ValaCCodeAssignment* _tmp123_ = NULL;
1852
ValaCCodeAssignment* _tmp124_;
1853
ValaCCodeFunction* _tmp125_ = NULL;
1854
ValaCCodeFunction* _tmp126_ = NULL;
1855
ValaCCodeConstant* _tmp127_ = NULL;
1856
ValaCCodeConstant* _tmp128_;
1857
ValaCCodeFunction* _tmp129_ = NULL;
1858
gchar* _tmp130_ = NULL;
1860
ValaCCodeIdentifier* _tmp132_ = NULL;
1861
ValaCCodeIdentifier* _tmp133_;
1862
ValaCCodeFunctionCall* _tmp134_ = NULL;
1863
ValaCCodeFunctionCall* _tmp135_;
1864
ValaCCodeIdentifier* _tmp136_ = NULL;
1865
ValaCCodeIdentifier* _tmp137_;
1866
ValaCCodeMemberAccess* _tmp138_ = NULL;
1867
ValaCCodeMemberAccess* _tmp139_;
1868
ValaCCodeIdentifier* _tmp140_ = NULL;
1869
ValaCCodeIdentifier* _tmp141_;
1870
ValaCCodeMemberAccess* _tmp142_ = NULL;
1871
ValaCCodeMemberAccess* _tmp143_;
1872
ValaCCodeExpression* _tmp144_ = NULL;
1873
ValaCCodeExpression* _tmp145_;
1874
ValaCCodeUnaryExpression* _tmp146_ = NULL;
1875
ValaCCodeUnaryExpression* _tmp147_;
1876
_tmp113_ = ((ValaCCodeBaseModule*) self)->next_coroutine_state;
1877
((ValaCCodeBaseModule*) self)->next_coroutine_state = _tmp113_ + 1;
1879
_tmp114_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1880
_tmp115_ = vala_ccode_identifier_new ("data");
1881
_tmp116_ = _tmp115_;
1882
_tmp117_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp116_, "_state_");
1883
_tmp118_ = _tmp117_;
1884
_tmp119_ = g_strdup_printf ("%i", state);
1885
_tmp120_ = _tmp119_;
1886
_tmp121_ = vala_ccode_constant_new (_tmp120_);
1887
_tmp122_ = _tmp121_;
1888
_tmp123_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp118_, (ValaCCodeExpression*) _tmp122_, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
1889
_tmp124_ = _tmp123_;
1890
vala_ccode_function_add_expression (_tmp114_, (ValaCCodeExpression*) _tmp124_);
1891
_vala_ccode_node_unref0 (_tmp124_);
1892
_vala_ccode_node_unref0 (_tmp122_);
1893
_g_free0 (_tmp120_);
1894
_vala_ccode_node_unref0 (_tmp118_);
1895
_vala_ccode_node_unref0 (_tmp116_);
1896
_tmp125_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1897
vala_ccode_function_add_expression (_tmp125_, (ValaCCodeExpression*) ccall);
1898
_tmp126_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1899
_tmp127_ = vala_ccode_constant_new ("FALSE");
1900
_tmp128_ = _tmp127_;
1901
vala_ccode_function_add_return (_tmp126_, (ValaCCodeExpression*) _tmp128_);
1902
_vala_ccode_node_unref0 (_tmp128_);
1903
_tmp129_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1904
_tmp130_ = g_strdup_printf ("_state_%d", state);
1905
_tmp131_ = _tmp130_;
1906
vala_ccode_function_add_label (_tmp129_, _tmp131_);
1907
_g_free0 (_tmp131_);
1908
_tmp132_ = vala_ccode_identifier_new ("g_async_initable_new_finish");
1909
_tmp133_ = _tmp132_;
1910
_tmp134_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp133_);
1911
_tmp135_ = _tmp134_;
1935
ValaCCodeFunction* _tmp148_ = NULL;
1936
ValaCCodeIdentifier* _tmp149_ = NULL;
1937
ValaCCodeIdentifier* _tmp150_;
1938
ValaCCodeMemberAccess* _tmp151_ = NULL;
1939
ValaCCodeMemberAccess* _tmp152_;
1940
gchar* _tmp153_ = NULL;
1942
ValaCCodeConstant* _tmp155_ = NULL;
1943
ValaCCodeConstant* _tmp156_;
1944
ValaCCodeAssignment* _tmp157_ = NULL;
1945
ValaCCodeAssignment* _tmp158_;
1946
ValaCCodeFunction* _tmp159_ = NULL;
1947
ValaCCodeFunction* _tmp160_ = NULL;
1948
ValaCCodeConstant* _tmp161_ = NULL;
1949
ValaCCodeConstant* _tmp162_;
1950
ValaCCodeFunction* _tmp163_ = NULL;
1951
gchar* _tmp164_ = NULL;
1953
ValaCCodeIdentifier* _tmp166_ = NULL;
1954
ValaCCodeIdentifier* _tmp167_;
1955
ValaCCodeFunctionCall* _tmp168_ = NULL;
1956
ValaCCodeFunctionCall* _tmp169_;
1957
ValaCCodeIdentifier* _tmp170_ = NULL;
1958
ValaCCodeIdentifier* _tmp171_;
1959
ValaCCodeMemberAccess* _tmp172_ = NULL;
1960
ValaCCodeMemberAccess* _tmp173_;
1961
ValaCCodeIdentifier* _tmp174_ = NULL;
1962
ValaCCodeIdentifier* _tmp175_;
1963
ValaCCodeMemberAccess* _tmp176_ = NULL;
1964
ValaCCodeMemberAccess* _tmp177_;
1965
ValaCCodeExpression* _tmp178_ = NULL;
1966
ValaCCodeExpression* _tmp179_;
1967
ValaCCodeUnaryExpression* _tmp180_ = NULL;
1968
ValaCCodeUnaryExpression* _tmp181_;
1969
_tmp147_ = ((ValaCCodeBaseModule*) self)->next_coroutine_state;
1970
((ValaCCodeBaseModule*) self)->next_coroutine_state = _tmp147_ + 1;
1972
_tmp148_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1973
_tmp149_ = vala_ccode_identifier_new ("data");
1974
_tmp150_ = _tmp149_;
1975
_tmp151_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp150_, "_state_");
1976
_tmp152_ = _tmp151_;
1977
_tmp153_ = g_strdup_printf ("%i", state);
1978
_tmp154_ = _tmp153_;
1979
_tmp155_ = vala_ccode_constant_new (_tmp154_);
1980
_tmp156_ = _tmp155_;
1981
_tmp157_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp152_, (ValaCCodeExpression*) _tmp156_, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
1982
_tmp158_ = _tmp157_;
1983
vala_ccode_function_add_expression (_tmp148_, (ValaCCodeExpression*) _tmp158_);
1984
_vala_ccode_node_unref0 (_tmp158_);
1985
_vala_ccode_node_unref0 (_tmp156_);
1986
_g_free0 (_tmp154_);
1987
_vala_ccode_node_unref0 (_tmp152_);
1988
_vala_ccode_node_unref0 (_tmp150_);
1989
_tmp159_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1990
vala_ccode_function_add_expression (_tmp159_, (ValaCCodeExpression*) ccall);
1991
_tmp160_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1992
_tmp161_ = vala_ccode_constant_new ("FALSE");
1993
_tmp162_ = _tmp161_;
1994
vala_ccode_function_add_return (_tmp160_, (ValaCCodeExpression*) _tmp162_);
1995
_vala_ccode_node_unref0 (_tmp162_);
1996
_tmp163_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1997
_tmp164_ = g_strdup_printf ("_state_%d", state);
1998
_tmp165_ = _tmp164_;
1999
vala_ccode_function_add_label (_tmp163_, _tmp165_);
2000
_g_free0 (_tmp165_);
2001
_tmp166_ = vala_ccode_identifier_new ("g_async_initable_new_finish");
2002
_tmp167_ = _tmp166_;
2003
_tmp168_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp167_);
2004
_tmp169_ = _tmp168_;
1912
2005
_vala_ccode_node_unref0 (ccall);
1914
_vala_ccode_node_unref0 (_tmp133_);
1915
_tmp136_ = vala_ccode_identifier_new ("data");
1916
_tmp137_ = _tmp136_;
1917
_tmp138_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp137_, "_source_object_");
1918
_tmp139_ = _tmp138_;
1919
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp139_);
1920
_vala_ccode_node_unref0 (_tmp139_);
1921
_vala_ccode_node_unref0 (_tmp137_);
1922
_tmp140_ = vala_ccode_identifier_new ("data");
1923
_tmp141_ = _tmp140_;
1924
_tmp142_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp141_, "_res_");
1925
_tmp143_ = _tmp142_;
1926
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp143_);
1927
_vala_ccode_node_unref0 (_tmp143_);
1928
_vala_ccode_node_unref0 (_tmp141_);
1929
_tmp144_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_");
1930
_tmp145_ = _tmp144_;
1931
_tmp146_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp145_);
1932
_tmp147_ = _tmp146_;
1933
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp147_);
1934
_vala_ccode_node_unref0 (_tmp147_);
1935
_vala_ccode_node_unref0 (_tmp145_);
2007
_vala_ccode_node_unref0 (_tmp167_);
2008
_tmp170_ = vala_ccode_identifier_new ("data");
2009
_tmp171_ = _tmp170_;
2010
_tmp172_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp171_, "_source_object_");
2011
_tmp173_ = _tmp172_;
2012
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp173_);
2013
_vala_ccode_node_unref0 (_tmp173_);
2014
_vala_ccode_node_unref0 (_tmp171_);
2015
_tmp174_ = vala_ccode_identifier_new ("data");
2016
_tmp175_ = _tmp174_;
2017
_tmp176_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp175_, "_res_");
2018
_tmp177_ = _tmp176_;
2019
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp177_);
2020
_vala_ccode_node_unref0 (_tmp177_);
2021
_vala_ccode_node_unref0 (_tmp175_);
2022
_tmp178_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_");
2023
_tmp179_ = _tmp178_;
2024
_tmp180_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp179_);
2025
_tmp181_ = _tmp180_;
2026
vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp181_);
2027
_vala_ccode_node_unref0 (_tmp181_);
2028
_vala_ccode_node_unref0 (_tmp179_);
1938
_tmp148_ = vala_expression_get_value_type ((ValaExpression*) expr);
1939
_tmp149_ = vala_expression_get_value_type ((ValaExpression*) expr);
1940
_tmp150_ = vala_data_type_get_value_owned (_tmp149_);
1941
_tmp151_ = vala_ccode_base_module_get_temp_variable ((ValaCCodeBaseModule*) self, _tmp148_, _tmp150_, NULL, TRUE);
1942
temp_var = _tmp151_;
1943
_tmp152_ = vala_symbol_get_name ((ValaSymbol*) temp_var);
1944
_tmp153_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, _tmp152_);
1945
temp_ref = _tmp153_;
2031
_tmp182_ = vala_expression_get_value_type ((ValaExpression*) expr);
2032
_tmp183_ = vala_expression_get_value_type ((ValaExpression*) expr);
2033
_tmp184_ = vala_data_type_get_value_owned (_tmp183_);
2034
_tmp185_ = vala_ccode_base_module_get_temp_variable ((ValaCCodeBaseModule*) self, _tmp182_, _tmp184_, NULL, TRUE);
2035
temp_var = _tmp185_;
2036
_tmp186_ = vala_symbol_get_name ((ValaSymbol*) temp_var);
2037
_tmp187_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, _tmp186_);
2038
temp_ref = _tmp187_;
1946
2039
vala_ccode_base_module_emit_temp_var ((ValaCCodeBaseModule*) self, temp_var);
1947
_tmp154_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
1948
_tmp155_ = vala_ccode_assignment_new (temp_ref, (ValaCCodeExpression*) ccall, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
1949
_tmp156_ = _tmp155_;
1950
vala_ccode_function_add_expression (_tmp154_, (ValaCCodeExpression*) _tmp156_);
1951
_vala_ccode_node_unref0 (_tmp156_);
2040
_tmp188_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
2041
_tmp189_ = vala_ccode_assignment_new (temp_ref, (ValaCCodeExpression*) ccall, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
2042
_tmp190_ = _tmp189_;
2043
vala_ccode_function_add_expression (_tmp188_, (ValaCCodeExpression*) _tmp190_);
2044
_vala_ccode_node_unref0 (_tmp190_);
1952
2045
vala_ccode_base_module_set_cvalue ((ValaCCodeBaseModule*) self, (ValaExpression*) expr, temp_ref);
1953
2046
_vala_ccode_node_unref0 (temp_ref);
1954
2047
_vala_code_node_unref0 (temp_var);
3594
3687
_tmp343_ = _tmp342_;
3595
3688
_tmp344_ = vala_ccode_identifier_new ("_reply_iter");
3596
3689
_tmp345_ = _tmp344_;
3597
vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp341_, (ValaCCodeExpression*) _tmp343_, (ValaCCodeExpression*) _tmp345_, (ValaCCodeExpression*) target, (ValaSymbol*) param);
3690
_tmp346_ = vala_ccode_identifier_new ("error");
3691
_tmp347_ = _tmp346_;
3692
vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp341_, (ValaCCodeExpression*) _tmp343_, (ValaCCodeExpression*) _tmp345_, (ValaCCodeExpression*) target, (ValaSymbol*) param, (ValaCCodeExpression*) _tmp347_, &_tmp348_);
3693
may_fail = _tmp348_;
3694
_vala_ccode_node_unref0 (_tmp347_);
3598
3695
_vala_ccode_node_unref0 (_tmp345_);
3599
3696
_vala_ccode_node_unref0 (_tmp343_);
3600
_tmp346_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3601
_tmp347_ = vala_symbol_get_name ((ValaSymbol*) param);
3602
_tmp348_ = vala_ccode_identifier_new (_tmp347_);
3603
_tmp349_ = _tmp348_;
3604
_tmp350_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp349_);
3605
_tmp351_ = _tmp350_;
3606
_tmp352_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp351_, (ValaCCodeExpression*) target, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
3607
_tmp353_ = _tmp352_;
3608
vala_ccode_function_add_expression (_tmp346_, (ValaCCodeExpression*) _tmp353_);
3609
_vala_ccode_node_unref0 (_tmp353_);
3610
_vala_ccode_node_unref0 (_tmp351_);
3611
_vala_ccode_node_unref0 (_tmp349_);
3697
_tmp349_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3698
_tmp350_ = vala_symbol_get_name ((ValaSymbol*) param);
3699
_tmp351_ = vala_ccode_identifier_new (_tmp350_);
3700
_tmp352_ = _tmp351_;
3701
_tmp353_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp352_);
3702
_tmp354_ = _tmp353_;
3703
_tmp355_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp354_, (ValaCCodeExpression*) target, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
3704
_tmp356_ = _tmp355_;
3705
vala_ccode_function_add_expression (_tmp349_, (ValaCCodeExpression*) _tmp356_);
3706
_vala_ccode_node_unref0 (_tmp356_);
3707
_vala_ccode_node_unref0 (_tmp354_);
3708
_vala_ccode_node_unref0 (_tmp352_);
3612
3709
if (array_type != NULL) {
3621
ValaCCodeFunction* _tmp356_ = NULL;
3622
const gchar* _tmp357_ = NULL;
3623
gchar* _tmp358_ = NULL;
3625
ValaCCodeIdentifier* _tmp360_ = NULL;
3626
ValaCCodeIdentifier* _tmp361_;
3627
ValaCCodeUnaryExpression* _tmp362_ = NULL;
3628
ValaCCodeUnaryExpression* _tmp363_;
3629
const gchar* _tmp364_ = NULL;
3630
gchar* _tmp365_ = NULL;
3632
ValaCCodeIdentifier* _tmp367_ = NULL;
3633
ValaCCodeIdentifier* _tmp368_;
3634
ValaCCodeAssignment* _tmp369_ = NULL;
3635
ValaCCodeAssignment* _tmp370_;
3718
ValaCCodeFunction* _tmp359_ = NULL;
3719
const gchar* _tmp360_ = NULL;
3720
gchar* _tmp361_ = NULL;
3722
ValaCCodeIdentifier* _tmp363_ = NULL;
3723
ValaCCodeIdentifier* _tmp364_;
3724
ValaCCodeUnaryExpression* _tmp365_ = NULL;
3725
ValaCCodeUnaryExpression* _tmp366_;
3726
const gchar* _tmp367_ = NULL;
3727
gchar* _tmp368_ = NULL;
3729
ValaCCodeIdentifier* _tmp370_ = NULL;
3730
ValaCCodeIdentifier* _tmp371_;
3731
ValaCCodeAssignment* _tmp372_ = NULL;
3732
ValaCCodeAssignment* _tmp373_;
3640
_tmp355_ = vala_array_type_get_rank (array_type);
3641
if (!(dim <= _tmp355_)) {
3737
_tmp358_ = vala_array_type_get_rank (array_type);
3738
if (!(dim <= _tmp358_)) {
3644
_tmp356_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3645
_tmp357_ = vala_symbol_get_name ((ValaSymbol*) param);
3646
_tmp358_ = g_strdup_printf ("%s_length%d", _tmp357_, dim);
3647
_tmp359_ = _tmp358_;
3648
_tmp360_ = vala_ccode_identifier_new (_tmp359_);
3649
_tmp361_ = _tmp360_;
3650
_tmp362_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp361_);
3651
_tmp363_ = _tmp362_;
3652
_tmp364_ = vala_symbol_get_name ((ValaSymbol*) param);
3653
_tmp365_ = g_strdup_printf ("_%s_length%d", _tmp364_, dim);
3741
_tmp359_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3742
_tmp360_ = vala_symbol_get_name ((ValaSymbol*) param);
3743
_tmp361_ = g_strdup_printf ("%s_length%d", _tmp360_, dim);
3744
_tmp362_ = _tmp361_;
3745
_tmp363_ = vala_ccode_identifier_new (_tmp362_);
3746
_tmp364_ = _tmp363_;
3747
_tmp365_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp364_);
3654
3748
_tmp366_ = _tmp365_;
3655
_tmp367_ = vala_ccode_identifier_new (_tmp366_);
3656
_tmp368_ = _tmp367_;
3657
_tmp369_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp363_, (ValaCCodeExpression*) _tmp368_, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
3658
_tmp370_ = _tmp369_;
3659
vala_ccode_function_add_expression (_tmp356_, (ValaCCodeExpression*) _tmp370_);
3660
_vala_ccode_node_unref0 (_tmp370_);
3661
_vala_ccode_node_unref0 (_tmp368_);
3662
_g_free0 (_tmp366_);
3663
_vala_ccode_node_unref0 (_tmp363_);
3664
_vala_ccode_node_unref0 (_tmp361_);
3665
_g_free0 (_tmp359_);
3749
_tmp367_ = vala_symbol_get_name ((ValaSymbol*) param);
3750
_tmp368_ = g_strdup_printf ("_%s_length%d", _tmp367_, dim);
3751
_tmp369_ = _tmp368_;
3752
_tmp370_ = vala_ccode_identifier_new (_tmp369_);
3753
_tmp371_ = _tmp370_;
3754
_tmp372_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp366_, (ValaCCodeExpression*) _tmp371_, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
3755
_tmp373_ = _tmp372_;
3756
vala_ccode_function_add_expression (_tmp359_, (ValaCCodeExpression*) _tmp373_);
3757
_vala_ccode_node_unref0 (_tmp373_);
3758
_vala_ccode_node_unref0 (_tmp371_);
3759
_g_free0 (_tmp369_);
3760
_vala_ccode_node_unref0 (_tmp366_);
3761
_vala_ccode_node_unref0 (_tmp364_);
3762
_g_free0 (_tmp362_);
3768
ValaCCodeFunction* _tmp374_ = NULL;
3769
ValaCCodeIdentifier* _tmp375_ = NULL;
3770
ValaCCodeIdentifier* _tmp376_;
3771
ValaCCodeIdentifier* _tmp377_ = NULL;
3772
ValaCCodeIdentifier* _tmp378_;
3773
ValaCCodeUnaryExpression* _tmp379_ = NULL;
3774
ValaCCodeUnaryExpression* _tmp380_;
3775
ValaCCodeBinaryExpression* _tmp381_ = NULL;
3776
ValaCCodeBinaryExpression* _tmp382_;
3777
ValaCCodeFunction* _tmp383_ = NULL;
3778
ValaDataType* _tmp384_ = NULL;
3779
ValaCCodeFunction* _tmp385_ = NULL;
3780
_tmp374_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3781
_tmp375_ = vala_ccode_identifier_new ("error");
3782
_tmp376_ = _tmp375_;
3783
_tmp377_ = vala_ccode_identifier_new ("error");
3784
_tmp378_ = _tmp377_;
3785
_tmp379_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp378_);
3786
_tmp380_ = _tmp379_;
3787
_tmp381_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_AND, (ValaCCodeExpression*) _tmp376_, (ValaCCodeExpression*) _tmp380_);
3788
_tmp382_ = _tmp381_;
3789
vala_ccode_function_open_if (_tmp374_, (ValaCCodeExpression*) _tmp382_);
3790
_vala_ccode_node_unref0 (_tmp382_);
3791
_vala_ccode_node_unref0 (_tmp380_);
3792
_vala_ccode_node_unref0 (_tmp378_);
3793
_vala_ccode_node_unref0 (_tmp376_);
3794
_tmp383_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3795
vala_ccode_function_add_expression (_tmp383_, (ValaCCodeExpression*) unref_reply);
3796
_tmp384_ = vala_method_get_return_type (m);
3797
vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp384_);
3798
_tmp385_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3799
vala_ccode_function_close (_tmp385_);
3670
3801
_vala_ccode_node_unref0 (target);
3671
3802
_vala_code_node_unref0 (array_type);
3675
3806
_vala_iterable_unref0 (_param_list);
3677
_tmp371_ = vala_method_get_return_type (m);
3678
if (!VALA_IS_VOID_TYPE (_tmp371_)) {
3679
ValaDataType* _tmp372_ = NULL;
3681
_tmp372_ = vala_method_get_return_type (m);
3682
_tmp373_ = vala_data_type_is_real_non_null_struct_type (_tmp372_);
3684
ValaCCodeIdentifier* _tmp374_ = NULL;
3685
ValaCCodeIdentifier* _tmp375_;
3686
ValaCCodeUnaryExpression* _tmp376_ = NULL;
3687
ValaCCodeUnaryExpression* _tmp377_;
3808
_tmp386_ = vala_method_get_return_type (m);
3809
if (!VALA_IS_VOID_TYPE (_tmp386_)) {
3810
ValaDataType* _tmp387_ = NULL;
3812
_tmp387_ = vala_method_get_return_type (m);
3813
_tmp388_ = vala_data_type_is_real_non_null_struct_type (_tmp387_);
3815
ValaCCodeIdentifier* _tmp389_ = NULL;
3816
ValaCCodeIdentifier* _tmp390_;
3817
ValaCCodeUnaryExpression* _tmp391_ = NULL;
3818
ValaCCodeUnaryExpression* _tmp392_;
3688
3819
ValaCCodeUnaryExpression* target;
3689
ValaDataType* _tmp378_ = NULL;
3690
ValaCCodeIdentifier* _tmp379_ = NULL;
3691
ValaCCodeIdentifier* _tmp380_;
3692
ValaCCodeIdentifier* _tmp381_ = NULL;
3693
ValaCCodeIdentifier* _tmp382_;
3694
_tmp374_ = vala_ccode_identifier_new ("result");
3695
_tmp375_ = _tmp374_;
3696
_tmp376_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp375_);
3697
target = (_tmp377_ = _tmp376_, _vala_ccode_node_unref0 (_tmp375_), _tmp377_);
3698
_tmp378_ = vala_method_get_return_type (m);
3699
_tmp379_ = vala_ccode_identifier_new ("_reply_message");
3700
_tmp380_ = _tmp379_;
3701
_tmp381_ = vala_ccode_identifier_new ("_reply_iter");
3702
_tmp382_ = _tmp381_;
3703
vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp378_, (ValaCCodeExpression*) _tmp380_, (ValaCCodeExpression*) _tmp382_, (ValaCCodeExpression*) target, (ValaSymbol*) m);
3704
_vala_ccode_node_unref0 (_tmp382_);
3705
_vala_ccode_node_unref0 (_tmp380_);
3820
ValaDataType* _tmp393_ = NULL;
3821
ValaCCodeIdentifier* _tmp394_ = NULL;
3822
ValaCCodeIdentifier* _tmp395_;
3823
ValaCCodeIdentifier* _tmp396_ = NULL;
3824
ValaCCodeIdentifier* _tmp397_;
3825
_tmp389_ = vala_ccode_identifier_new ("result");
3826
_tmp390_ = _tmp389_;
3827
_tmp391_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp390_);
3828
target = (_tmp392_ = _tmp391_, _vala_ccode_node_unref0 (_tmp390_), _tmp392_);
3829
_tmp393_ = vala_method_get_return_type (m);
3830
_tmp394_ = vala_ccode_identifier_new ("_reply_message");
3831
_tmp395_ = _tmp394_;
3832
_tmp396_ = vala_ccode_identifier_new ("_reply_iter");
3833
_tmp397_ = _tmp396_;
3834
vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp393_, (ValaCCodeExpression*) _tmp395_, (ValaCCodeExpression*) _tmp397_, (ValaCCodeExpression*) target, (ValaSymbol*) m, NULL, NULL);
3835
_vala_ccode_node_unref0 (_tmp397_);
3836
_vala_ccode_node_unref0 (_tmp395_);
3706
3837
_vala_ccode_node_unref0 (target);
3708
ValaCCodeFunction* _tmp383_ = NULL;
3709
ValaDataType* _tmp384_ = NULL;
3710
gchar* _tmp385_ = NULL;
3712
ValaCCodeVariableDeclarator* _tmp387_ = NULL;
3713
ValaCCodeVariableDeclarator* _tmp388_;
3714
ValaDataType* _tmp389_ = NULL;
3715
ValaDataType* _tmp390_;
3716
ValaArrayType* _tmp391_;
3839
ValaCCodeFunction* _tmp398_ = NULL;
3840
ValaDataType* _tmp399_ = NULL;
3841
gchar* _tmp400_ = NULL;
3843
ValaCCodeVariableDeclarator* _tmp402_ = NULL;
3844
ValaCCodeVariableDeclarator* _tmp403_;
3845
ValaDataType* _tmp404_ = NULL;
3846
ValaDataType* _tmp405_;
3847
ValaArrayType* _tmp406_;
3717
3848
ValaArrayType* array_type;
3718
ValaDataType* _tmp401_ = NULL;
3719
ValaCCodeIdentifier* _tmp402_ = NULL;
3720
ValaCCodeIdentifier* _tmp403_;
3721
ValaCCodeIdentifier* _tmp404_ = NULL;
3722
ValaCCodeIdentifier* _tmp405_;
3723
ValaCCodeIdentifier* _tmp406_ = NULL;
3724
ValaCCodeIdentifier* _tmp407_;
3725
_tmp383_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3726
_tmp384_ = vala_method_get_return_type (m);
3727
_tmp385_ = vala_data_type_get_cname (_tmp384_);
3728
_tmp386_ = _tmp385_;
3729
_tmp387_ = vala_ccode_variable_declarator_new ("_result", NULL, NULL);
3730
_tmp388_ = _tmp387_;
3731
vala_ccode_function_add_declaration (_tmp383_, _tmp386_, (ValaCCodeDeclarator*) _tmp388_, 0);
3732
_vala_ccode_node_unref0 (_tmp388_);
3733
_g_free0 (_tmp386_);
3734
_tmp389_ = vala_method_get_return_type (m);
3735
_tmp391_ = _vala_code_node_ref0 ((_tmp390_ = _tmp389_, VALA_IS_ARRAY_TYPE (_tmp390_) ? ((ValaArrayType*) _tmp390_) : NULL));
3736
array_type = _tmp391_;
3737
if (array_type != NULL) {
3746
ValaCCodeFunction* _tmp394_ = NULL;
3747
gchar* _tmp395_ = NULL;
3749
ValaCCodeConstant* _tmp397_ = NULL;
3750
ValaCCodeConstant* _tmp398_;
3751
ValaCCodeVariableDeclarator* _tmp399_ = NULL;
3752
ValaCCodeVariableDeclarator* _tmp400_;
3757
_tmp393_ = vala_array_type_get_rank (array_type);
3758
if (!(dim <= _tmp393_)) {
3761
_tmp394_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3762
_tmp395_ = g_strdup_printf ("_result_length%d", dim);
3763
_tmp396_ = _tmp395_;
3764
_tmp397_ = vala_ccode_constant_new ("0");
3765
_tmp398_ = _tmp397_;
3766
_tmp399_ = vala_ccode_variable_declarator_new (_tmp396_, (ValaCCodeExpression*) _tmp398_, NULL);
3767
_tmp400_ = _tmp399_;
3768
vala_ccode_function_add_declaration (_tmp394_, "int", (ValaCCodeDeclarator*) _tmp400_, 0);
3769
_vala_ccode_node_unref0 (_tmp400_);
3770
_vala_ccode_node_unref0 (_tmp398_);
3771
_g_free0 (_tmp396_);
3776
_tmp401_ = vala_method_get_return_type (m);
3777
_tmp402_ = vala_ccode_identifier_new ("_reply_message");
3849
gboolean may_fail = FALSE;
3850
ValaDataType* _tmp416_ = NULL;
3851
ValaCCodeIdentifier* _tmp417_ = NULL;
3852
ValaCCodeIdentifier* _tmp418_;
3853
ValaCCodeIdentifier* _tmp419_ = NULL;
3854
ValaCCodeIdentifier* _tmp420_;
3855
ValaCCodeIdentifier* _tmp421_ = NULL;
3856
ValaCCodeIdentifier* _tmp422_;
3857
ValaCCodeIdentifier* _tmp423_ = NULL;
3858
ValaCCodeIdentifier* _tmp424_;
3860
_tmp398_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3861
_tmp399_ = vala_method_get_return_type (m);
3862
_tmp400_ = vala_data_type_get_cname (_tmp399_);
3863
_tmp401_ = _tmp400_;
3864
_tmp402_ = vala_ccode_variable_declarator_new ("_result", NULL, NULL);
3778
3865
_tmp403_ = _tmp402_;
3779
_tmp404_ = vala_ccode_identifier_new ("_reply_iter");
3780
_tmp405_ = _tmp404_;
3781
_tmp406_ = vala_ccode_identifier_new ("_result");
3782
_tmp407_ = _tmp406_;
3783
vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp401_, (ValaCCodeExpression*) _tmp403_, (ValaCCodeExpression*) _tmp405_, (ValaCCodeExpression*) _tmp407_, (ValaSymbol*) m);
3784
_vala_ccode_node_unref0 (_tmp407_);
3785
_vala_ccode_node_unref0 (_tmp405_);
3866
vala_ccode_function_add_declaration (_tmp398_, _tmp401_, (ValaCCodeDeclarator*) _tmp403_, 0);
3786
3867
_vala_ccode_node_unref0 (_tmp403_);
3787
if (array_type != NULL) {
3796
ValaCCodeFunction* _tmp410_ = NULL;
3797
gchar* _tmp411_ = NULL;
3799
ValaCCodeIdentifier* _tmp413_ = NULL;
3800
ValaCCodeIdentifier* _tmp414_;
3801
ValaCCodeUnaryExpression* _tmp415_ = NULL;
3802
ValaCCodeUnaryExpression* _tmp416_;
3803
gchar* _tmp417_ = NULL;
3805
ValaCCodeIdentifier* _tmp419_ = NULL;
3806
ValaCCodeIdentifier* _tmp420_;
3807
ValaCCodeAssignment* _tmp421_ = NULL;
3808
ValaCCodeAssignment* _tmp422_;
3813
_tmp409_ = vala_array_type_get_rank (array_type);
3814
if (!(dim <= _tmp409_)) {
3817
_tmp410_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3818
_tmp411_ = g_strdup_printf ("result_length%d", dim);
3819
_tmp412_ = _tmp411_;
3820
_tmp413_ = vala_ccode_identifier_new (_tmp412_);
3821
_tmp414_ = _tmp413_;
3822
_tmp415_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp414_);
3823
_tmp416_ = _tmp415_;
3824
_tmp417_ = g_strdup_printf ("_result_length%d", dim);
3825
_tmp418_ = _tmp417_;
3826
_tmp419_ = vala_ccode_identifier_new (_tmp418_);
3827
_tmp420_ = _tmp419_;
3828
_tmp421_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp416_, (ValaCCodeExpression*) _tmp420_, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
3829
_tmp422_ = _tmp421_;
3830
vala_ccode_function_add_expression (_tmp410_, (ValaCCodeExpression*) _tmp422_);
3831
_vala_ccode_node_unref0 (_tmp422_);
3832
_vala_ccode_node_unref0 (_tmp420_);
3833
_g_free0 (_tmp418_);
3834
_vala_ccode_node_unref0 (_tmp416_);
3835
_vala_ccode_node_unref0 (_tmp414_);
3836
_g_free0 (_tmp412_);
3868
_g_free0 (_tmp401_);
3869
_tmp404_ = vala_method_get_return_type (m);
3870
_tmp406_ = _vala_code_node_ref0 ((_tmp405_ = _tmp404_, VALA_IS_ARRAY_TYPE (_tmp405_) ? ((ValaArrayType*) _tmp405_) : NULL));
3871
array_type = _tmp406_;
3872
if (array_type != NULL) {
3881
ValaCCodeFunction* _tmp409_ = NULL;
3882
gchar* _tmp410_ = NULL;
3884
ValaCCodeConstant* _tmp412_ = NULL;
3885
ValaCCodeConstant* _tmp413_;
3886
ValaCCodeVariableDeclarator* _tmp414_ = NULL;
3887
ValaCCodeVariableDeclarator* _tmp415_;
3892
_tmp408_ = vala_array_type_get_rank (array_type);
3893
if (!(dim <= _tmp408_)) {
3896
_tmp409_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3897
_tmp410_ = g_strdup_printf ("_result_length%d", dim);
3898
_tmp411_ = _tmp410_;
3899
_tmp412_ = vala_ccode_constant_new ("0");
3900
_tmp413_ = _tmp412_;
3901
_tmp414_ = vala_ccode_variable_declarator_new (_tmp411_, (ValaCCodeExpression*) _tmp413_, NULL);
3902
_tmp415_ = _tmp414_;
3903
vala_ccode_function_add_declaration (_tmp409_, "int", (ValaCCodeDeclarator*) _tmp415_, 0);
3904
_vala_ccode_node_unref0 (_tmp415_);
3905
_vala_ccode_node_unref0 (_tmp413_);
3906
_g_free0 (_tmp411_);
3911
_tmp416_ = vala_method_get_return_type (m);
3912
_tmp417_ = vala_ccode_identifier_new ("_reply_message");
3913
_tmp418_ = _tmp417_;
3914
_tmp419_ = vala_ccode_identifier_new ("_reply_iter");
3915
_tmp420_ = _tmp419_;
3916
_tmp421_ = vala_ccode_identifier_new ("_result");
3917
_tmp422_ = _tmp421_;
3918
_tmp423_ = vala_ccode_identifier_new ("error");
3919
_tmp424_ = _tmp423_;
3920
vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp416_, (ValaCCodeExpression*) _tmp418_, (ValaCCodeExpression*) _tmp420_, (ValaCCodeExpression*) _tmp422_, (ValaSymbol*) m, (ValaCCodeExpression*) _tmp424_, &_tmp425_);
3921
may_fail = _tmp425_;
3922
_vala_ccode_node_unref0 (_tmp424_);
3923
_vala_ccode_node_unref0 (_tmp422_);
3924
_vala_ccode_node_unref0 (_tmp420_);
3925
_vala_ccode_node_unref0 (_tmp418_);
3926
if (array_type != NULL) {
3935
ValaCCodeFunction* _tmp428_ = NULL;
3936
gchar* _tmp429_ = NULL;
3938
ValaCCodeIdentifier* _tmp431_ = NULL;
3939
ValaCCodeIdentifier* _tmp432_;
3940
ValaCCodeUnaryExpression* _tmp433_ = NULL;
3941
ValaCCodeUnaryExpression* _tmp434_;
3942
gchar* _tmp435_ = NULL;
3944
ValaCCodeIdentifier* _tmp437_ = NULL;
3945
ValaCCodeIdentifier* _tmp438_;
3946
ValaCCodeAssignment* _tmp439_ = NULL;
3947
ValaCCodeAssignment* _tmp440_;
3952
_tmp427_ = vala_array_type_get_rank (array_type);
3953
if (!(dim <= _tmp427_)) {
3956
_tmp428_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3957
_tmp429_ = g_strdup_printf ("result_length%d", dim);
3958
_tmp430_ = _tmp429_;
3959
_tmp431_ = vala_ccode_identifier_new (_tmp430_);
3960
_tmp432_ = _tmp431_;
3961
_tmp433_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp432_);
3962
_tmp434_ = _tmp433_;
3963
_tmp435_ = g_strdup_printf ("_result_length%d", dim);
3964
_tmp436_ = _tmp435_;
3965
_tmp437_ = vala_ccode_identifier_new (_tmp436_);
3966
_tmp438_ = _tmp437_;
3967
_tmp439_ = vala_ccode_assignment_new ((ValaCCodeExpression*) _tmp434_, (ValaCCodeExpression*) _tmp438_, VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE);
3968
_tmp440_ = _tmp439_;
3969
vala_ccode_function_add_expression (_tmp428_, (ValaCCodeExpression*) _tmp440_);
3970
_vala_ccode_node_unref0 (_tmp440_);
3971
_vala_ccode_node_unref0 (_tmp438_);
3972
_g_free0 (_tmp436_);
3973
_vala_ccode_node_unref0 (_tmp434_);
3974
_vala_ccode_node_unref0 (_tmp432_);
3975
_g_free0 (_tmp430_);
3981
ValaCCodeFunction* _tmp441_ = NULL;
3982
ValaCCodeIdentifier* _tmp442_ = NULL;
3983
ValaCCodeIdentifier* _tmp443_;
3984
ValaCCodeIdentifier* _tmp444_ = NULL;
3985
ValaCCodeIdentifier* _tmp445_;
3986
ValaCCodeUnaryExpression* _tmp446_ = NULL;
3987
ValaCCodeUnaryExpression* _tmp447_;
3988
ValaCCodeBinaryExpression* _tmp448_ = NULL;
3989
ValaCCodeBinaryExpression* _tmp449_;
3990
ValaCCodeFunction* _tmp450_ = NULL;
3991
ValaDataType* _tmp451_ = NULL;
3992
ValaCCodeFunction* _tmp452_ = NULL;
3993
_tmp441_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3994
_tmp442_ = vala_ccode_identifier_new ("error");
3995
_tmp443_ = _tmp442_;
3996
_tmp444_ = vala_ccode_identifier_new ("error");
3997
_tmp445_ = _tmp444_;
3998
_tmp446_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp445_);
3999
_tmp447_ = _tmp446_;
4000
_tmp448_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_AND, (ValaCCodeExpression*) _tmp443_, (ValaCCodeExpression*) _tmp447_);
4001
_tmp449_ = _tmp448_;
4002
vala_ccode_function_open_if (_tmp441_, (ValaCCodeExpression*) _tmp449_);
4003
_vala_ccode_node_unref0 (_tmp449_);
4004
_vala_ccode_node_unref0 (_tmp447_);
4005
_vala_ccode_node_unref0 (_tmp445_);
4006
_vala_ccode_node_unref0 (_tmp443_);
4007
_tmp450_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
4008
vala_ccode_function_add_expression (_tmp450_, (ValaCCodeExpression*) unref_reply);
4009
_tmp451_ = vala_method_get_return_type (m);
4010
vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp451_);
4011
_tmp452_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
4012
vala_ccode_function_close (_tmp452_);
3841
4014
_vala_code_node_unref0 (array_type);
3844
4017
_vala_ccode_node_unref0 (iter_init);
3846
_tmp423_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3847
vala_ccode_function_add_expression (_tmp423_, (ValaCCodeExpression*) unref_reply);
3848
_tmp425_ = vala_method_get_return_type (m);
3849
if (VALA_IS_VOID_TYPE (_tmp425_)) {
4019
_tmp453_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
4020
vala_ccode_function_add_expression (_tmp453_, (ValaCCodeExpression*) unref_reply);
4021
_tmp455_ = vala_method_get_return_type (m);
4022
if (VALA_IS_VOID_TYPE (_tmp455_)) {
3852
ValaDataType* _tmp426_ = NULL;
3854
_tmp426_ = vala_method_get_return_type (m);
3855
_tmp427_ = vala_data_type_is_real_non_null_struct_type (_tmp426_);
3856
_tmp424_ = _tmp427_;
4025
ValaDataType* _tmp456_ = NULL;
4027
_tmp456_ = vala_method_get_return_type (m);
4028
_tmp457_ = vala_data_type_is_real_non_null_struct_type (_tmp456_);
4029
_tmp454_ = _tmp457_;
3859
ValaCCodeFunction* _tmp428_ = NULL;
3860
ValaCCodeIdentifier* _tmp429_ = NULL;
3861
ValaCCodeIdentifier* _tmp430_;
3862
_tmp428_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
3863
_tmp429_ = vala_ccode_identifier_new ("_result");
3864
_tmp430_ = _tmp429_;
3865
vala_ccode_function_add_return (_tmp428_, (ValaCCodeExpression*) _tmp430_);
3866
_vala_ccode_node_unref0 (_tmp430_);
4032
ValaCCodeFunction* _tmp458_ = NULL;
4033
ValaCCodeIdentifier* _tmp459_ = NULL;
4034
ValaCCodeIdentifier* _tmp460_;
4035
_tmp458_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
4036
_tmp459_ = vala_ccode_identifier_new ("_result");
4037
_tmp460_ = _tmp459_;
4038
vala_ccode_function_add_return (_tmp458_, (ValaCCodeExpression*) _tmp460_);
4039
_vala_ccode_node_unref0 (_tmp460_);
3868
4041
_vala_ccode_node_unref0 (ccall);
3869
4042
_vala_ccode_node_unref0 (reply_is_null);