/* valagdbusclientmodule.c generated by valac, the Vala compiler * generated from valagdbusclientmodule.vala, do not modify */ /* valagdbusclientmodule.vala * * Copyright (C) 2010-2011 Jürg Billeter * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * Author: * Jürg Billeter * Philip Van Hoof */ #include #include #include #include #include #include #include #include #include #define VALA_TYPE_CCODE_BASE_MODULE (vala_ccode_base_module_get_type ()) #define VALA_CCODE_BASE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_BASE_MODULE, ValaCCodeBaseModule)) #define VALA_CCODE_BASE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_BASE_MODULE, ValaCCodeBaseModuleClass)) #define VALA_IS_CCODE_BASE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_BASE_MODULE)) #define VALA_IS_CCODE_BASE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_BASE_MODULE)) #define VALA_CCODE_BASE_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_BASE_MODULE, ValaCCodeBaseModuleClass)) typedef struct _ValaCCodeBaseModule ValaCCodeBaseModule; typedef struct _ValaCCodeBaseModuleClass ValaCCodeBaseModuleClass; typedef struct _ValaCCodeBaseModulePrivate ValaCCodeBaseModulePrivate; #define VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT (vala_ccode_base_module_emit_context_get_type ()) #define VALA_CCODE_BASE_MODULE_EMIT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT, ValaCCodeBaseModuleEmitContext)) #define VALA_CCODE_BASE_MODULE_EMIT_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT, ValaCCodeBaseModuleEmitContextClass)) #define VALA_CCODE_BASE_MODULE_IS_EMIT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT)) #define VALA_CCODE_BASE_MODULE_IS_EMIT_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT)) #define VALA_CCODE_BASE_MODULE_EMIT_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT, ValaCCodeBaseModuleEmitContextClass)) typedef struct _ValaCCodeBaseModuleEmitContext ValaCCodeBaseModuleEmitContext; typedef struct _ValaCCodeBaseModuleEmitContextClass ValaCCodeBaseModuleEmitContextClass; #define VALA_TYPE_CCODE_STRUCT_MODULE (vala_ccode_struct_module_get_type ()) #define VALA_CCODE_STRUCT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_STRUCT_MODULE, ValaCCodeStructModule)) #define VALA_CCODE_STRUCT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_STRUCT_MODULE, ValaCCodeStructModuleClass)) #define VALA_IS_CCODE_STRUCT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_STRUCT_MODULE)) #define VALA_IS_CCODE_STRUCT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_STRUCT_MODULE)) #define VALA_CCODE_STRUCT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_STRUCT_MODULE, ValaCCodeStructModuleClass)) typedef struct _ValaCCodeStructModule ValaCCodeStructModule; typedef struct _ValaCCodeStructModuleClass ValaCCodeStructModuleClass; typedef struct _ValaCCodeStructModulePrivate ValaCCodeStructModulePrivate; #define VALA_TYPE_CCODE_METHOD_MODULE (vala_ccode_method_module_get_type ()) #define VALA_CCODE_METHOD_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_METHOD_MODULE, ValaCCodeMethodModule)) #define VALA_CCODE_METHOD_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_METHOD_MODULE, ValaCCodeMethodModuleClass)) #define VALA_IS_CCODE_METHOD_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_METHOD_MODULE)) #define VALA_IS_CCODE_METHOD_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_METHOD_MODULE)) #define VALA_CCODE_METHOD_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_METHOD_MODULE, ValaCCodeMethodModuleClass)) typedef struct _ValaCCodeMethodModule ValaCCodeMethodModule; typedef struct _ValaCCodeMethodModuleClass ValaCCodeMethodModuleClass; typedef struct _ValaCCodeMethodModulePrivate ValaCCodeMethodModulePrivate; #define VALA_TYPE_CCODE_CONTROL_FLOW_MODULE (vala_ccode_control_flow_module_get_type ()) #define VALA_CCODE_CONTROL_FLOW_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE, ValaCCodeControlFlowModule)) #define VALA_CCODE_CONTROL_FLOW_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE, ValaCCodeControlFlowModuleClass)) #define VALA_IS_CCODE_CONTROL_FLOW_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE)) #define VALA_IS_CCODE_CONTROL_FLOW_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE)) #define VALA_CCODE_CONTROL_FLOW_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE, ValaCCodeControlFlowModuleClass)) typedef struct _ValaCCodeControlFlowModule ValaCCodeControlFlowModule; typedef struct _ValaCCodeControlFlowModuleClass ValaCCodeControlFlowModuleClass; typedef struct _ValaCCodeControlFlowModulePrivate ValaCCodeControlFlowModulePrivate; #define VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE (vala_ccode_member_access_module_get_type ()) #define VALA_CCODE_MEMBER_ACCESS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE, ValaCCodeMemberAccessModule)) #define VALA_CCODE_MEMBER_ACCESS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE, ValaCCodeMemberAccessModuleClass)) #define VALA_IS_CCODE_MEMBER_ACCESS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE)) #define VALA_IS_CCODE_MEMBER_ACCESS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE)) #define VALA_CCODE_MEMBER_ACCESS_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE, ValaCCodeMemberAccessModuleClass)) typedef struct _ValaCCodeMemberAccessModule ValaCCodeMemberAccessModule; typedef struct _ValaCCodeMemberAccessModuleClass ValaCCodeMemberAccessModuleClass; typedef struct _ValaCCodeMemberAccessModulePrivate ValaCCodeMemberAccessModulePrivate; #define VALA_TYPE_CCODE_ASSIGNMENT_MODULE (vala_ccode_assignment_module_get_type ()) #define VALA_CCODE_ASSIGNMENT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ASSIGNMENT_MODULE, ValaCCodeAssignmentModule)) #define VALA_CCODE_ASSIGNMENT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ASSIGNMENT_MODULE, ValaCCodeAssignmentModuleClass)) #define VALA_IS_CCODE_ASSIGNMENT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ASSIGNMENT_MODULE)) #define VALA_IS_CCODE_ASSIGNMENT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ASSIGNMENT_MODULE)) #define VALA_CCODE_ASSIGNMENT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ASSIGNMENT_MODULE, ValaCCodeAssignmentModuleClass)) typedef struct _ValaCCodeAssignmentModule ValaCCodeAssignmentModule; typedef struct _ValaCCodeAssignmentModuleClass ValaCCodeAssignmentModuleClass; typedef struct _ValaCCodeAssignmentModulePrivate ValaCCodeAssignmentModulePrivate; #define VALA_TYPE_CCODE_METHOD_CALL_MODULE (vala_ccode_method_call_module_get_type ()) #define VALA_CCODE_METHOD_CALL_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_METHOD_CALL_MODULE, ValaCCodeMethodCallModule)) #define VALA_CCODE_METHOD_CALL_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_METHOD_CALL_MODULE, ValaCCodeMethodCallModuleClass)) #define VALA_IS_CCODE_METHOD_CALL_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_METHOD_CALL_MODULE)) #define VALA_IS_CCODE_METHOD_CALL_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_METHOD_CALL_MODULE)) #define VALA_CCODE_METHOD_CALL_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_METHOD_CALL_MODULE, ValaCCodeMethodCallModuleClass)) typedef struct _ValaCCodeMethodCallModule ValaCCodeMethodCallModule; typedef struct _ValaCCodeMethodCallModuleClass ValaCCodeMethodCallModuleClass; typedef struct _ValaCCodeMethodCallModulePrivate ValaCCodeMethodCallModulePrivate; #define VALA_TYPE_CCODE_ARRAY_MODULE (vala_ccode_array_module_get_type ()) #define VALA_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModule)) #define VALA_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass)) #define VALA_IS_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ARRAY_MODULE)) #define VALA_IS_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ARRAY_MODULE)) #define VALA_CCODE_ARRAY_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass)) typedef struct _ValaCCodeArrayModule ValaCCodeArrayModule; typedef struct _ValaCCodeArrayModuleClass ValaCCodeArrayModuleClass; typedef struct _ValaCCodeArrayModulePrivate ValaCCodeArrayModulePrivate; #define VALA_TYPE_CCODE_DELEGATE_MODULE (vala_ccode_delegate_module_get_type ()) #define VALA_CCODE_DELEGATE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_DELEGATE_MODULE, ValaCCodeDelegateModule)) #define VALA_CCODE_DELEGATE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_DELEGATE_MODULE, ValaCCodeDelegateModuleClass)) #define VALA_IS_CCODE_DELEGATE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_DELEGATE_MODULE)) #define VALA_IS_CCODE_DELEGATE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_DELEGATE_MODULE)) #define VALA_CCODE_DELEGATE_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_DELEGATE_MODULE, ValaCCodeDelegateModuleClass)) typedef struct _ValaCCodeDelegateModule ValaCCodeDelegateModule; typedef struct _ValaCCodeDelegateModuleClass ValaCCodeDelegateModuleClass; typedef struct _ValaCCodeDelegateModulePrivate ValaCCodeDelegateModulePrivate; #define VALA_TYPE_GERROR_MODULE (vala_gerror_module_get_type ()) #define VALA_GERROR_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GERROR_MODULE, ValaGErrorModule)) #define VALA_GERROR_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GERROR_MODULE, ValaGErrorModuleClass)) #define VALA_IS_GERROR_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GERROR_MODULE)) #define VALA_IS_GERROR_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GERROR_MODULE)) #define VALA_GERROR_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GERROR_MODULE, ValaGErrorModuleClass)) typedef struct _ValaGErrorModule ValaGErrorModule; typedef struct _ValaGErrorModuleClass ValaGErrorModuleClass; typedef struct _ValaGErrorModulePrivate ValaGErrorModulePrivate; #define VALA_TYPE_GTYPE_MODULE (vala_gtype_module_get_type ()) #define VALA_GTYPE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GTYPE_MODULE, ValaGTypeModule)) #define VALA_GTYPE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GTYPE_MODULE, ValaGTypeModuleClass)) #define VALA_IS_GTYPE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GTYPE_MODULE)) #define VALA_IS_GTYPE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GTYPE_MODULE)) #define VALA_GTYPE_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GTYPE_MODULE, ValaGTypeModuleClass)) typedef struct _ValaGTypeModule ValaGTypeModule; typedef struct _ValaGTypeModuleClass ValaGTypeModuleClass; typedef struct _ValaGTypeModulePrivate ValaGTypeModulePrivate; #define VALA_TYPE_GOBJECT_MODULE (vala_gobject_module_get_type ()) #define VALA_GOBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModule)) #define VALA_GOBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModuleClass)) #define VALA_IS_GOBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GOBJECT_MODULE)) #define VALA_IS_GOBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GOBJECT_MODULE)) #define VALA_GOBJECT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModuleClass)) typedef struct _ValaGObjectModule ValaGObjectModule; typedef struct _ValaGObjectModuleClass ValaGObjectModuleClass; typedef struct _ValaGObjectModulePrivate ValaGObjectModulePrivate; #define VALA_TYPE_GSIGNAL_MODULE (vala_gsignal_module_get_type ()) #define VALA_GSIGNAL_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GSIGNAL_MODULE, ValaGSignalModule)) #define VALA_GSIGNAL_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GSIGNAL_MODULE, ValaGSignalModuleClass)) #define VALA_IS_GSIGNAL_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GSIGNAL_MODULE)) #define VALA_IS_GSIGNAL_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GSIGNAL_MODULE)) #define VALA_GSIGNAL_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GSIGNAL_MODULE, ValaGSignalModuleClass)) typedef struct _ValaGSignalModule ValaGSignalModule; typedef struct _ValaGSignalModuleClass ValaGSignalModuleClass; typedef struct _ValaGSignalModulePrivate ValaGSignalModulePrivate; #define VALA_TYPE_GASYNC_MODULE (vala_gasync_module_get_type ()) #define VALA_GASYNC_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GASYNC_MODULE, ValaGAsyncModule)) #define VALA_GASYNC_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GASYNC_MODULE, ValaGAsyncModuleClass)) #define VALA_IS_GASYNC_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GASYNC_MODULE)) #define VALA_IS_GASYNC_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GASYNC_MODULE)) #define VALA_GASYNC_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GASYNC_MODULE, ValaGAsyncModuleClass)) typedef struct _ValaGAsyncModule ValaGAsyncModule; typedef struct _ValaGAsyncModuleClass ValaGAsyncModuleClass; typedef struct _ValaGAsyncModulePrivate ValaGAsyncModulePrivate; #define VALA_TYPE_GVARIANT_MODULE (vala_gvariant_module_get_type ()) #define VALA_GVARIANT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GVARIANT_MODULE, ValaGVariantModule)) #define VALA_GVARIANT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GVARIANT_MODULE, ValaGVariantModuleClass)) #define VALA_IS_GVARIANT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GVARIANT_MODULE)) #define VALA_IS_GVARIANT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GVARIANT_MODULE)) #define VALA_GVARIANT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GVARIANT_MODULE, ValaGVariantModuleClass)) typedef struct _ValaGVariantModule ValaGVariantModule; typedef struct _ValaGVariantModuleClass ValaGVariantModuleClass; typedef struct _ValaGVariantModulePrivate ValaGVariantModulePrivate; #define VALA_TYPE_GD_BUS_MODULE (vala_gd_bus_module_get_type ()) #define VALA_GD_BUS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GD_BUS_MODULE, ValaGDBusModule)) #define VALA_GD_BUS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GD_BUS_MODULE, ValaGDBusModuleClass)) #define VALA_IS_GD_BUS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GD_BUS_MODULE)) #define VALA_IS_GD_BUS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GD_BUS_MODULE)) #define VALA_GD_BUS_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GD_BUS_MODULE, ValaGDBusModuleClass)) typedef struct _ValaGDBusModule ValaGDBusModule; typedef struct _ValaGDBusModuleClass ValaGDBusModuleClass; typedef struct _ValaGDBusModulePrivate ValaGDBusModulePrivate; #define VALA_TYPE_GD_BUS_CLIENT_MODULE (vala_gd_bus_client_module_get_type ()) #define VALA_GD_BUS_CLIENT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GD_BUS_CLIENT_MODULE, ValaGDBusClientModule)) #define VALA_GD_BUS_CLIENT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GD_BUS_CLIENT_MODULE, ValaGDBusClientModuleClass)) #define VALA_IS_GD_BUS_CLIENT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GD_BUS_CLIENT_MODULE)) #define VALA_IS_GD_BUS_CLIENT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GD_BUS_CLIENT_MODULE)) #define VALA_GD_BUS_CLIENT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GD_BUS_CLIENT_MODULE, ValaGDBusClientModuleClass)) typedef struct _ValaGDBusClientModule ValaGDBusClientModule; typedef struct _ValaGDBusClientModuleClass ValaGDBusClientModuleClass; typedef struct _ValaGDBusClientModulePrivate ValaGDBusClientModulePrivate; #define VALA_GD_BUS_CLIENT_MODULE_TYPE_CALL_TYPE (vala_gd_bus_client_module_call_type_get_type ()) #define _vala_code_node_unref0(var) ((var == NULL) ? NULL : (var = (vala_code_node_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _vala_map_unref0(var) ((var == NULL) ? NULL : (var = (vala_map_unref (var), NULL))) #define _vala_ccode_node_unref0(var) ((var == NULL) ? NULL : (var = (vala_ccode_node_unref (var), NULL))) #define _vala_iterable_unref0(var) ((var == NULL) ? NULL : (var = (vala_iterable_unref (var), NULL))) struct _ValaCCodeBaseModule { ValaCodeGenerator parent_instance; ValaCCodeBaseModulePrivate * priv; ValaSymbol* root_symbol; ValaCCodeBaseModuleEmitContext* emit_context; ValaCCodeLineDirective* current_line; ValaCCodeFile* header_file; ValaCCodeFile* internal_header_file; ValaCCodeFile* cfile; ValaCCodeBaseModuleEmitContext* class_init_context; ValaCCodeBaseModuleEmitContext* base_init_context; ValaCCodeBaseModuleEmitContext* class_finalize_context; ValaCCodeBaseModuleEmitContext* base_finalize_context; ValaCCodeBaseModuleEmitContext* instance_init_context; ValaCCodeBaseModuleEmitContext* instance_finalize_context; ValaCCodeStruct* param_spec_struct; ValaCCodeStruct* closure_struct; ValaCCodeEnum* prop_enum; ValaSet* user_marshal_set; ValaSet* predefined_marshal_set; gint next_regex_id; gint next_coroutine_state; ValaDataType* void_type; ValaDataType* bool_type; ValaDataType* char_type; ValaDataType* uchar_type; ValaDataType* unichar_type; ValaDataType* short_type; ValaDataType* ushort_type; ValaDataType* int_type; ValaDataType* uint_type; ValaDataType* long_type; ValaDataType* ulong_type; ValaDataType* int8_type; ValaDataType* uint8_type; ValaDataType* int16_type; ValaDataType* uint16_type; ValaDataType* int32_type; ValaDataType* uint32_type; ValaDataType* int64_type; ValaDataType* uint64_type; ValaDataType* string_type; ValaDataType* regex_type; ValaDataType* float_type; ValaDataType* double_type; ValaTypeSymbol* gtype_type; ValaTypeSymbol* gobject_type; ValaErrorType* gerror_type; ValaClass* glist_type; ValaClass* gslist_type; ValaClass* gnode_type; ValaClass* gqueue_type; ValaClass* gvaluearray_type; ValaTypeSymbol* gstringbuilder_type; ValaTypeSymbol* garray_type; ValaTypeSymbol* gbytearray_type; ValaTypeSymbol* gptrarray_type; ValaTypeSymbol* gthreadpool_type; ValaDataType* gdestroynotify_type; ValaDataType* gquark_type; ValaStruct* gvalue_type; ValaClass* gvariant_type; ValaStruct* mutex_type; ValaTypeSymbol* type_module_type; ValaTypeSymbol* dbus_proxy_type; gboolean in_plugin; gchar* module_init_param_name; gboolean gvaluecollector_h_needed; gboolean requires_array_free; gboolean requires_array_move; gboolean requires_array_length; ValaSet* wrappers; }; struct _ValaCCodeBaseModuleClass { ValaCodeGeneratorClass parent_class; void (*append_vala_array_free) (ValaCCodeBaseModule* self); void (*append_vala_array_move) (ValaCCodeBaseModule* self); void (*append_vala_array_length) (ValaCCodeBaseModule* self); gboolean (*generate_enum_declaration) (ValaCCodeBaseModule* self, ValaEnum* en, ValaCCodeFile* decl_space); void (*generate_class_struct_declaration) (ValaCCodeBaseModule* self, ValaClass* cl, ValaCCodeFile* decl_space); void (*generate_struct_declaration) (ValaCCodeBaseModule* self, ValaStruct* st, ValaCCodeFile* decl_space); void (*generate_delegate_declaration) (ValaCCodeBaseModule* self, ValaDelegate* d, ValaCCodeFile* decl_space); void (*generate_cparameters) (ValaCCodeBaseModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaMap* cparam_map, ValaCCodeFunction* func, ValaCCodeFunctionDeclarator* vdeclarator, ValaMap* carg_map, ValaCCodeFunctionCall* vcall, gint direction); ValaCCodeExpression* (*get_dup_func_expression) (ValaCCodeBaseModule* self, ValaDataType* type, ValaSourceReference* source_reference, gboolean is_chainup); gchar* (*append_struct_array_free) (ValaCCodeBaseModule* self, ValaStruct* st); ValaCCodeExpression* (*destroy_value) (ValaCCodeBaseModule* self, ValaTargetValue* value, gboolean is_macro_definition); void (*append_scope_free) (ValaCCodeBaseModule* self, ValaSymbol* sym, ValaCodeNode* stop_at); ValaTargetValue* (*get_local_cvalue) (ValaCCodeBaseModule* self, ValaLocalVariable* local); ValaTargetValue* (*get_parameter_cvalue) (ValaCCodeBaseModule* self, ValaParameter* param); ValaTargetValue* (*get_field_cvalue) (ValaCCodeBaseModule* self, ValaField* field, ValaTargetValue* instance); ValaTargetValue* (*load_variable) (ValaCCodeBaseModule* self, ValaVariable* variable, ValaTargetValue* value); ValaTargetValue* (*load_this_parameter) (ValaCCodeBaseModule* self, ValaTypeSymbol* sym); void (*store_value) (ValaCCodeBaseModule* self, ValaTargetValue* lvalue, ValaTargetValue* value); gchar* (*get_delegate_target_cname) (ValaCCodeBaseModule* self, const gchar* delegate_cname); ValaCCodeExpression* (*get_delegate_target_cexpression) (ValaCCodeBaseModule* self, ValaExpression* delegate_expr, ValaCCodeExpression** delegate_target_destroy_notify); ValaCCodeExpression* (*get_delegate_target_cvalue) (ValaCCodeBaseModule* self, ValaTargetValue* value); ValaCCodeExpression* (*get_delegate_target_destroy_notify_cvalue) (ValaCCodeBaseModule* self, ValaTargetValue* value); gchar* (*get_delegate_target_destroy_notify_cname) (ValaCCodeBaseModule* self, const gchar* delegate_cname); ValaTargetValue* (*copy_value) (ValaCCodeBaseModule* self, ValaTargetValue* value, ValaCodeNode* node); void (*generate_class_declaration) (ValaCCodeBaseModule* self, ValaClass* cl, ValaCCodeFile* decl_space); void (*generate_interface_declaration) (ValaCCodeBaseModule* self, ValaInterface* iface, ValaCCodeFile* decl_space); void (*generate_method_declaration) (ValaCCodeBaseModule* self, ValaMethod* m, ValaCCodeFile* decl_space); void (*generate_error_domain_declaration) (ValaCCodeBaseModule* self, ValaErrorDomain* edomain, ValaCCodeFile* decl_space); ValaCCodeExpression* (*deserialize_expression) (ValaCCodeBaseModule* self, ValaDataType* type, ValaCCodeExpression* variant_expr, ValaCCodeExpression* expr, ValaCCodeExpression* error_expr, gboolean* may_fail); ValaCCodeExpression* (*serialize_expression) (ValaCCodeBaseModule* self, ValaDataType* type, ValaCCodeExpression* expr); ValaCCodeExpression* (*get_implicit_cast_expression) (ValaCCodeBaseModule* self, ValaCCodeExpression* source_cexpr, ValaDataType* expression_type, ValaDataType* target_type, ValaCodeNode* node); void (*create_type_check_statement) (ValaCCodeBaseModule* self, ValaCodeNode* method_node, ValaDataType* ret_type, ValaTypeSymbol* t, gboolean non_null, const gchar* var_name); gboolean (*is_gobject_property) (ValaCCodeBaseModule* self, ValaProperty* prop); void (*generate_dynamic_method_wrapper) (ValaCCodeBaseModule* self, ValaDynamicMethod* method); gboolean (*method_has_wrapper) (ValaCCodeBaseModule* self, ValaMethod* method); ValaCCodeFunctionCall* (*get_param_spec) (ValaCCodeBaseModule* self, ValaProperty* prop); ValaCCodeFunctionCall* (*get_signal_creation) (ValaCCodeBaseModule* self, ValaSignal* sig, ValaTypeSymbol* type); void (*register_dbus_info) (ValaCCodeBaseModule* self, ValaCCodeBlock* block, ValaObjectTypeSymbol* bindable); gchar* (*get_dynamic_property_getter_cname) (ValaCCodeBaseModule* self, ValaDynamicProperty* node); gchar* (*get_dynamic_property_setter_cname) (ValaCCodeBaseModule* self, ValaDynamicProperty* node); gchar* (*get_dynamic_signal_cname) (ValaCCodeBaseModule* self, ValaDynamicSignal* node); gchar* (*get_dynamic_signal_connect_wrapper_name) (ValaCCodeBaseModule* self, ValaDynamicSignal* node); gchar* (*get_dynamic_signal_connect_after_wrapper_name) (ValaCCodeBaseModule* self, ValaDynamicSignal* node); gchar* (*get_dynamic_signal_disconnect_wrapper_name) (ValaCCodeBaseModule* self, ValaDynamicSignal* node); gchar* (*get_array_length_cname) (ValaCCodeBaseModule* self, const gchar* array_cname, gint dim); gchar* (*get_parameter_array_length_cname) (ValaCCodeBaseModule* self, ValaParameter* param, gint dim); ValaCCodeExpression* (*get_array_length_cexpression) (ValaCCodeBaseModule* self, ValaExpression* array_expr, gint dim); ValaCCodeExpression* (*get_array_length_cvalue) (ValaCCodeBaseModule* self, ValaTargetValue* value, gint dim); gchar* (*get_array_size_cname) (ValaCCodeBaseModule* self, const gchar* array_cname); void (*add_simple_check) (ValaCCodeBaseModule* self, ValaCodeNode* node, gboolean always_fails); gchar* (*generate_ready_function) (ValaCCodeBaseModule* self, ValaMethod* m); }; struct _ValaCCodeStructModule { ValaCCodeBaseModule parent_instance; ValaCCodeStructModulePrivate * priv; }; struct _ValaCCodeStructModuleClass { ValaCCodeBaseModuleClass parent_class; }; struct _ValaCCodeMethodModule { ValaCCodeStructModule parent_instance; ValaCCodeMethodModulePrivate * priv; }; struct _ValaCCodeMethodModuleClass { ValaCCodeStructModuleClass parent_class; void (*generate_method_result_declaration) (ValaCCodeMethodModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaCCodeFunction* cfunc, ValaMap* cparam_map, ValaMap* carg_map); ValaCCodeParameter* (*generate_parameter) (ValaCCodeMethodModule* self, ValaParameter* param, ValaCCodeFile* decl_space, ValaMap* cparam_map, ValaMap* carg_map); }; struct _ValaCCodeControlFlowModule { ValaCCodeMethodModule parent_instance; ValaCCodeControlFlowModulePrivate * priv; }; struct _ValaCCodeControlFlowModuleClass { ValaCCodeMethodModuleClass parent_class; }; struct _ValaCCodeMemberAccessModule { ValaCCodeControlFlowModule parent_instance; ValaCCodeMemberAccessModulePrivate * priv; }; struct _ValaCCodeMemberAccessModuleClass { ValaCCodeControlFlowModuleClass parent_class; }; struct _ValaCCodeAssignmentModule { ValaCCodeMemberAccessModule parent_instance; ValaCCodeAssignmentModulePrivate * priv; }; struct _ValaCCodeAssignmentModuleClass { ValaCCodeMemberAccessModuleClass parent_class; }; struct _ValaCCodeMethodCallModule { ValaCCodeAssignmentModule parent_instance; ValaCCodeMethodCallModulePrivate * priv; }; struct _ValaCCodeMethodCallModuleClass { ValaCCodeAssignmentModuleClass parent_class; }; struct _ValaCCodeArrayModule { ValaCCodeMethodCallModule parent_instance; ValaCCodeArrayModulePrivate * priv; }; struct _ValaCCodeArrayModuleClass { ValaCCodeMethodCallModuleClass parent_class; }; struct _ValaCCodeDelegateModule { ValaCCodeArrayModule parent_instance; ValaCCodeDelegateModulePrivate * priv; }; struct _ValaCCodeDelegateModuleClass { ValaCCodeArrayModuleClass parent_class; }; struct _ValaGErrorModule { ValaCCodeDelegateModule parent_instance; ValaGErrorModulePrivate * priv; }; struct _ValaGErrorModuleClass { ValaCCodeDelegateModuleClass parent_class; void (*return_with_exception) (ValaGErrorModule* self, ValaCCodeExpression* error_expr); }; struct _ValaGTypeModule { ValaGErrorModule parent_instance; ValaGTypeModulePrivate * priv; }; struct _ValaGTypeModuleClass { ValaGErrorModuleClass parent_class; void (*generate_virtual_method_declaration) (ValaGTypeModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaCCodeStruct* type_struct); void (*generate_class_init) (ValaGTypeModule* self, ValaClass* cl); }; struct _ValaGObjectModule { ValaGTypeModule parent_instance; ValaGObjectModulePrivate * priv; }; struct _ValaGObjectModuleClass { ValaGTypeModuleClass parent_class; }; struct _ValaGSignalModule { ValaGObjectModule parent_instance; ValaGSignalModulePrivate * priv; }; struct _ValaGSignalModuleClass { ValaGObjectModuleClass parent_class; }; struct _ValaGAsyncModule { ValaGSignalModule parent_instance; ValaGAsyncModulePrivate * priv; }; struct _ValaGAsyncModuleClass { ValaGSignalModuleClass parent_class; }; struct _ValaGVariantModule { ValaGAsyncModule parent_instance; ValaGVariantModulePrivate * priv; }; struct _ValaGVariantModuleClass { ValaGAsyncModuleClass parent_class; }; struct _ValaGDBusModule { ValaGVariantModule parent_instance; ValaGDBusModulePrivate * priv; }; struct _ValaGDBusModuleClass { ValaGVariantModuleClass parent_class; }; struct _ValaGDBusClientModule { ValaGDBusModule parent_instance; ValaGDBusClientModulePrivate * priv; }; struct _ValaGDBusClientModuleClass { ValaGDBusModuleClass parent_class; }; typedef enum { VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC, VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_ASYNC, VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_FINISH, VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_NO_REPLY } ValaGDBusClientModuleCallType; static gpointer vala_gd_bus_client_module_parent_class = NULL; GType vala_ccode_base_module_get_type (void) G_GNUC_CONST; gpointer vala_ccode_base_module_emit_context_ref (gpointer instance); void vala_ccode_base_module_emit_context_unref (gpointer instance); GParamSpec* vala_ccode_base_module_param_spec_emit_context (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); void vala_ccode_base_module_value_set_emit_context (GValue* value, gpointer v_object); void vala_ccode_base_module_value_take_emit_context (GValue* value, gpointer v_object); gpointer vala_ccode_base_module_value_get_emit_context (const GValue* value); GType vala_ccode_base_module_emit_context_get_type (void) G_GNUC_CONST; GType vala_ccode_struct_module_get_type (void) G_GNUC_CONST; GType vala_ccode_method_module_get_type (void) G_GNUC_CONST; GType vala_ccode_control_flow_module_get_type (void) G_GNUC_CONST; GType vala_ccode_member_access_module_get_type (void) G_GNUC_CONST; GType vala_ccode_assignment_module_get_type (void) G_GNUC_CONST; GType vala_ccode_method_call_module_get_type (void) G_GNUC_CONST; GType vala_ccode_array_module_get_type (void) G_GNUC_CONST; GType vala_ccode_delegate_module_get_type (void) G_GNUC_CONST; GType vala_gerror_module_get_type (void) G_GNUC_CONST; GType vala_gtype_module_get_type (void) G_GNUC_CONST; GType vala_gobject_module_get_type (void) G_GNUC_CONST; GType vala_gsignal_module_get_type (void) G_GNUC_CONST; GType vala_gasync_module_get_type (void) G_GNUC_CONST; GType vala_gvariant_module_get_type (void) G_GNUC_CONST; GType vala_gd_bus_module_get_type (void) G_GNUC_CONST; GType vala_gd_bus_client_module_get_type (void) G_GNUC_CONST; enum { VALA_GD_BUS_CLIENT_MODULE_DUMMY_PROPERTY }; static GType vala_gd_bus_client_module_call_type_get_type (void) G_GNUC_UNUSED; ValaCCodeConstant* vala_gd_bus_client_module_get_dbus_timeout (ValaGDBusClientModule* self, ValaSymbol* symbol); static void vala_gd_bus_client_module_real_generate_dynamic_method_wrapper (ValaCCodeBaseModule* base, ValaDynamicMethod* method); gchar* vala_ccode_base_module_get_ccode_name (ValaCodeNode* node); void vala_ccode_base_module_generate_cparameters (ValaCCodeBaseModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaMap* cparam_map, ValaCCodeFunction* func, ValaCCodeFunctionDeclarator* vdeclarator, ValaMap* carg_map, ValaCCodeFunctionCall* vcall, gint direction); void vala_ccode_base_module_push_function (ValaCCodeBaseModule* self, ValaCCodeFunction* func); static void vala_gd_bus_client_module_generate_marshalling (ValaGDBusClientModule* self, ValaMethod* m, ValaGDBusClientModuleCallType call_type, const gchar* iface_name, const gchar* method_name); void vala_ccode_base_module_pop_function (ValaCCodeBaseModule* self); static void vala_gd_bus_client_module_generate_proxy_interface_init (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface); gchar* vala_ccode_base_module_get_ccode_lower_case_prefix (ValaSymbol* sym); gchar* vala_ccode_base_module_get_ccode_vfunc_name (ValaMethod* m); ValaCCodeFunction* vala_ccode_base_module_get_ccode (ValaCCodeBaseModule* self); static gchar* vala_gd_bus_client_module_generate_dbus_proxy_method (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaMethod* m); static gchar* vala_gd_bus_client_module_generate_async_dbus_proxy_method (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaMethod* m); gchar* vala_ccode_base_module_get_ccode_finish_vfunc_name (ValaMethod* m); static gchar* vala_gd_bus_client_module_generate_finish_dbus_proxy_method (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaMethod* m); static gchar* vala_gd_bus_client_module_generate_dbus_proxy_property_get (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaProperty* prop); static gchar* vala_gd_bus_client_module_generate_dbus_proxy_property_set (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaProperty* prop); static gchar* vala_gd_bus_client_module_implement_interface (ValaGDBusClientModule* self, ValaCCodeFunctionCall* define_type, ValaInterface* main_iface, ValaInterface* iface); gchar* vala_ccode_base_module_get_ccode_upper_case_name (ValaSymbol* sym, const gchar* infix); static void vala_gd_bus_client_module_real_generate_interface_declaration (ValaCCodeBaseModule* base, ValaInterface* iface, ValaCCodeFile* decl_space); void vala_ccode_base_module_generate_interface_declaration (ValaCCodeBaseModule* self, ValaInterface* iface, ValaCCodeFile* decl_space); gchar* vala_gd_bus_module_get_dbus_name (ValaTypeSymbol* symbol); gboolean vala_ccode_base_module_add_symbol_declaration (ValaCCodeBaseModule* self, ValaCCodeFile* decl_space, ValaSymbol* sym, const gchar* name); gchar* vala_ccode_base_module_get_ccode_type_id (ValaCodeNode* node); static void vala_gd_bus_client_module_real_visit_interface (ValaCodeVisitor* base, ValaInterface* iface); static void vala_gd_bus_client_module_generate_signal_handler_function (ValaGDBusClientModule* self, ValaObjectTypeSymbol* sym); static void vala_gd_bus_client_module_real_visit_method_call (ValaCodeVisitor* base, ValaMethodCall* expr); ValaCCodeExpression* vala_ccode_base_module_get_type_id_expression (ValaCCodeBaseModule* self, ValaDataType* type, gboolean is_chainup); void vala_ccode_base_module_set_current_method_inner_error (ValaCCodeBaseModule* self, gboolean value); ValaLocalVariable* vala_ccode_base_module_get_temp_variable (ValaCCodeBaseModule* self, ValaDataType* type, gboolean value_owned, ValaCodeNode* node_reference, gboolean init); ValaCCodeExpression* vala_ccode_base_module_get_variable_cexpression (ValaCCodeBaseModule* self, const gchar* name); void vala_ccode_base_module_emit_temp_var (ValaCCodeBaseModule* self, ValaLocalVariable* local); ValaCCodeExpression* vala_ccode_base_module_get_cvalue (ValaCCodeBaseModule* self, ValaExpression* expr); void vala_ccode_base_module_set_cvalue (ValaCCodeBaseModule* self, ValaExpression* expr, ValaCCodeExpression* cvalue); gchar* vala_ccode_base_module_generate_ready_function (ValaCCodeBaseModule* self, ValaMethod* m); ValaMethod* vala_ccode_base_module_get_current_method (ValaCCodeBaseModule* self); ValaCCodeExpression* vala_ccode_base_module_get_delegate_target (ValaCCodeBaseModule* self, ValaExpression* expr); static gchar* vala_gd_bus_client_module_generate_dbus_signal_handler (ValaGDBusClientModule* self, ValaSignal* sig, ValaObjectTypeSymbol* sym); gchar* vala_ccode_base_module_get_ccode_lower_case_name (ValaCodeNode* node, const gchar* infix); ValaCCodeConstant* vala_ccode_base_module_get_signal_canonical_constant (ValaCCodeBaseModule* self, ValaSignal* sig, const gchar* detail); gchar* vala_ccode_base_module_get_variable_cname (ValaCCodeBaseModule* self, const gchar* name); ValaCCodeExpression* vala_ccode_base_module_default_value_for_type (ValaCCodeBaseModule* self, ValaDataType* type, gboolean initializer_expression); gchar* vala_ccode_base_module_get_parameter_array_length_cname (ValaCCodeBaseModule* self, ValaParameter* param, gint dim); void vala_gvariant_module_read_expression (ValaGVariantModule* self, ValaDataType* type, ValaCCodeExpression* iter_expr, ValaCCodeExpression* target_expr, ValaSymbol* sym, ValaCCodeExpression* error_expr, gboolean* may_fail); gboolean vala_ccode_base_module_requires_destroy (ValaCCodeBaseModule* self, ValaDataType* type); ValaCCodeExpression* vala_ccode_base_module_destroy_local (ValaCCodeBaseModule* self, ValaLocalVariable* local); gchar* vala_gd_bus_module_get_dbus_name_for_member (ValaSymbol* symbol); gboolean vala_gd_bus_module_dbus_method_uses_file_descriptor (ValaGDBusModule* self, ValaMethod* method); void vala_gd_bus_module_send_dbus_value (ValaGDBusModule* self, ValaDataType* type, ValaCCodeExpression* builder_expr, ValaCCodeExpression* expr, ValaSymbol* sym); gchar* vala_gasync_module_generate_async_callback_wrapper (ValaGAsyncModule* self); void vala_ccode_base_module_return_default_value (ValaCCodeBaseModule* self, ValaDataType* return_type); void vala_gd_bus_module_receive_dbus_value (ValaGDBusModule* self, ValaDataType* type, ValaCCodeExpression* message_expr, ValaCCodeExpression* iter_expr, ValaCCodeExpression* target_expr, ValaSymbol* sym, ValaCCodeExpression* error_expr, gboolean* may_fail); gboolean vala_gd_bus_module_is_dbus_no_reply (ValaMethod* m); gint vala_ccode_base_module_get_param_pos (ValaCCodeBaseModule* self, gdouble param_pos, gboolean ellipsis); void vala_gvariant_module_write_expression (ValaGVariantModule* self, ValaDataType* type, ValaCCodeExpression* builder_expr, ValaCCodeExpression* expr, ValaSymbol* sym); ValaCCodeExpression* vala_ccode_base_module_deserialize_expression (ValaCCodeBaseModule* self, ValaDataType* type, ValaCCodeExpression* variant_expr, ValaCCodeExpression* expr, ValaCCodeExpression* error_expr, gboolean* may_fail); static void vala_gd_bus_client_module_real_register_dbus_info (ValaCCodeBaseModule* base, ValaCCodeBlock* block, ValaObjectTypeSymbol* sym); ValaGDBusClientModule* vala_gd_bus_client_module_new (void); ValaGDBusClientModule* vala_gd_bus_client_module_construct (GType object_type); ValaGDBusModule* vala_gd_bus_module_new (void); ValaGDBusModule* vala_gd_bus_module_construct (GType object_type); static GType vala_gd_bus_client_module_call_type_get_type (void) { static volatile gsize vala_gd_bus_client_module_call_type_type_id__volatile = 0; if (g_once_init_enter (&vala_gd_bus_client_module_call_type_type_id__volatile)) { static const GEnumValue values[] = {{VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC, "VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC", "sync"}, {VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_ASYNC, "VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_ASYNC", "async"}, {VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_FINISH, "VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_FINISH", "finish"}, {VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_NO_REPLY, "VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_NO_REPLY", "no-reply"}, {0, NULL, NULL}}; GType vala_gd_bus_client_module_call_type_type_id; vala_gd_bus_client_module_call_type_type_id = g_enum_register_static ("ValaGDBusClientModuleCallType", values); g_once_init_leave (&vala_gd_bus_client_module_call_type_type_id__volatile, vala_gd_bus_client_module_call_type_type_id); } return vala_gd_bus_client_module_call_type_type_id__volatile; } ValaCCodeConstant* vala_gd_bus_client_module_get_dbus_timeout (ValaGDBusClientModule* self, ValaSymbol* symbol) { ValaCCodeConstant* result = NULL; gint timeout; ValaSymbol* _tmp0_; ValaAttribute* _tmp1_ = NULL; ValaAttribute* dbus; gboolean _tmp2_ = FALSE; ValaAttribute* _tmp3_; gboolean _tmp6_; gint _tmp16_; gchar* _tmp17_ = NULL; gchar* _tmp18_; ValaCCodeConstant* _tmp19_; ValaCCodeConstant* _tmp20_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (symbol != NULL, NULL); timeout = -1; _tmp0_ = symbol; _tmp1_ = vala_code_node_get_attribute ((ValaCodeNode*) _tmp0_, "DBus"); dbus = _tmp1_; _tmp3_ = dbus; if (_tmp3_ != NULL) { ValaAttribute* _tmp4_; gboolean _tmp5_ = FALSE; _tmp4_ = dbus; _tmp5_ = vala_attribute_has_argument (_tmp4_, "timeout"); _tmp2_ = _tmp5_; } else { _tmp2_ = FALSE; } _tmp6_ = _tmp2_; if (_tmp6_) { ValaAttribute* _tmp7_; gint _tmp8_ = 0; _tmp7_ = dbus; _tmp8_ = vala_attribute_get_integer (_tmp7_, "timeout", 0); timeout = _tmp8_; } else { ValaSymbol* _tmp9_; ValaSymbol* _tmp10_; ValaSymbol* _tmp11_; _tmp9_ = symbol; _tmp10_ = vala_symbol_get_parent_symbol (_tmp9_); _tmp11_ = _tmp10_; if (_tmp11_ != NULL) { ValaSymbol* _tmp12_; ValaSymbol* _tmp13_; ValaSymbol* _tmp14_; ValaCCodeConstant* _tmp15_ = NULL; _tmp12_ = symbol; _tmp13_ = vala_symbol_get_parent_symbol (_tmp12_); _tmp14_ = _tmp13_; _tmp15_ = vala_gd_bus_client_module_get_dbus_timeout (self, _tmp14_); result = _tmp15_; _vala_code_node_unref0 (dbus); return result; } } _tmp16_ = timeout; _tmp17_ = g_strdup_printf ("%i", _tmp16_); _tmp18_ = _tmp17_; _tmp19_ = vala_ccode_constant_new (_tmp18_); _tmp20_ = _tmp19_; _g_free0 (_tmp18_); result = _tmp20_; _vala_code_node_unref0 (dbus); return result; } static gpointer _vala_code_node_ref0 (gpointer self) { return self ? vala_code_node_ref (self) : NULL; } static void vala_gd_bus_client_module_real_generate_dynamic_method_wrapper (ValaCCodeBaseModule* base, ValaDynamicMethod* method) { ValaGDBusClientModule * self; ValaDynamicMethod* _tmp0_; ValaDynamicMethod* _tmp1_; ValaDynamicMethod* dynamic_method; ValaDynamicMethod* _tmp2_; gchar* _tmp3_ = NULL; gchar* _tmp4_; ValaCCodeFunction* _tmp5_; ValaCCodeFunction* _tmp6_; ValaCCodeFunction* func; ValaCCodeFunction* _tmp7_; GHashFunc _tmp8_; GEqualFunc _tmp9_; GEqualFunc _tmp10_; ValaHashMap* _tmp11_; ValaHashMap* cparam_map; ValaDynamicMethod* _tmp12_; ValaCCodeFile* _tmp13_; ValaHashMap* _tmp14_; ValaCCodeFunction* _tmp15_; ValaCCodeFunction* _tmp16_; ValaDynamicMethod* _tmp17_; ValaDataType* _tmp18_; ValaDataType* _tmp19_; ValaTypeSymbol* _tmp20_; ValaTypeSymbol* _tmp21_; ValaTypeSymbol* _tmp22_; ValaCCodeFile* _tmp37_; ValaCCodeFunction* _tmp38_; ValaCCodeFile* _tmp39_; ValaCCodeFunction* _tmp40_; self = (ValaGDBusClientModule*) base; g_return_if_fail (method != NULL); _tmp0_ = method; _tmp1_ = _vala_code_node_ref0 (VALA_DYNAMIC_METHOD (_tmp0_)); dynamic_method = _tmp1_; _tmp2_ = method; _tmp3_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp2_); _tmp4_ = _tmp3_; _tmp5_ = vala_ccode_function_new (_tmp4_, "void"); _tmp6_ = _tmp5_; _g_free0 (_tmp4_); func = _tmp6_; _tmp7_ = func; vala_ccode_function_set_modifiers (_tmp7_, VALA_CCODE_MODIFIERS_STATIC); _tmp8_ = g_direct_hash; _tmp9_ = g_direct_equal; _tmp10_ = g_direct_equal; _tmp11_ = vala_hash_map_new (G_TYPE_INT, NULL, NULL, VALA_TYPE_CCODE_PARAMETER, (GBoxedCopyFunc) vala_ccode_node_ref, vala_ccode_node_unref, _tmp8_, _tmp9_, _tmp10_); cparam_map = _tmp11_; _tmp12_ = method; _tmp13_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp14_ = cparam_map; _tmp15_ = func; vala_ccode_base_module_generate_cparameters ((ValaCCodeBaseModule*) self, (ValaMethod*) _tmp12_, _tmp13_, (ValaMap*) _tmp14_, _tmp15_, NULL, NULL, NULL, 3); _tmp16_ = func; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp16_); _tmp17_ = dynamic_method; _tmp18_ = vala_dynamic_method_get_dynamic_type (_tmp17_); _tmp19_ = _tmp18_; _tmp20_ = vala_data_type_get_data_type (_tmp19_); _tmp21_ = _tmp20_; _tmp22_ = ((ValaCCodeBaseModule*) self)->dbus_proxy_type; if (_tmp21_ == _tmp22_) { ValaDynamicMethod* _tmp23_; ValaDynamicMethod* _tmp24_; const gchar* _tmp25_; const gchar* _tmp26_; _tmp23_ = method; _tmp24_ = method; _tmp25_ = vala_symbol_get_name ((ValaSymbol*) _tmp24_); _tmp26_ = _tmp25_; vala_gd_bus_client_module_generate_marshalling (self, (ValaMethod*) _tmp23_, VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC, NULL, _tmp26_); } else { ValaDynamicMethod* _tmp27_; ValaSourceReference* _tmp28_; ValaSourceReference* _tmp29_; ValaDynamicMethod* _tmp30_; ValaDataType* _tmp31_; ValaDataType* _tmp32_; gchar* _tmp33_ = NULL; gchar* _tmp34_; gchar* _tmp35_ = NULL; gchar* _tmp36_; _tmp27_ = method; _tmp28_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp27_); _tmp29_ = _tmp28_; _tmp30_ = dynamic_method; _tmp31_ = vala_dynamic_method_get_dynamic_type (_tmp30_); _tmp32_ = _tmp31_; _tmp33_ = vala_code_node_to_string ((ValaCodeNode*) _tmp32_); _tmp34_ = _tmp33_; _tmp35_ = g_strdup_printf ("dynamic methods are not supported for `%s'", _tmp34_); _tmp36_ = _tmp35_; vala_report_error (_tmp29_, _tmp36_); _g_free0 (_tmp36_); _g_free0 (_tmp34_); } vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp37_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp38_ = func; vala_ccode_file_add_function_declaration (_tmp37_, _tmp38_); _tmp39_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp40_ = func; vala_ccode_file_add_function (_tmp39_, _tmp40_); _vala_map_unref0 (cparam_map); _vala_ccode_node_unref0 (func); _vala_code_node_unref0 (dynamic_method); } static void vala_gd_bus_client_module_generate_proxy_interface_init (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface) { ValaInterface* _tmp18_; gchar* _tmp19_ = NULL; gchar* _tmp20_; gchar* _tmp21_; gchar* _tmp22_; gchar* lower_cname; const gchar* _tmp23_; gchar* _tmp24_; gchar* _tmp25_; ValaInterface* _tmp26_; gchar* _tmp27_ = NULL; gchar* _tmp28_; gchar* _tmp29_; gchar* _tmp30_; gchar* _tmp31_; gchar* _tmp32_; ValaCCodeFunction* _tmp33_; ValaCCodeFunction* _tmp34_; ValaCCodeFunction* proxy_iface_init; ValaCCodeFunction* _tmp35_; ValaInterface* _tmp36_; gchar* _tmp37_ = NULL; gchar* _tmp38_; gchar* _tmp39_; gchar* _tmp40_; ValaCCodeParameter* _tmp41_; ValaCCodeParameter* _tmp42_; ValaCCodeFunction* _tmp43_; ValaCCodeFunction* _tmp162_; ValaCCodeFile* _tmp163_; ValaCCodeFunction* _tmp164_; ValaCCodeFile* _tmp165_; ValaCCodeFunction* _tmp166_; g_return_if_fail (self != NULL); g_return_if_fail (main_iface != NULL); g_return_if_fail (iface != NULL); { ValaInterface* _tmp0_; ValaList* _tmp1_ = NULL; ValaList* _prereq_list; ValaList* _tmp2_; gint _tmp3_; gint _tmp4_; gint _prereq_size; gint _prereq_index; _tmp0_ = iface; _tmp1_ = vala_interface_get_prerequisites (_tmp0_); _prereq_list = _tmp1_; _tmp2_ = _prereq_list; _tmp3_ = vala_collection_get_size ((ValaCollection*) _tmp2_); _tmp4_ = _tmp3_; _prereq_size = _tmp4_; _prereq_index = -1; while (TRUE) { gint _tmp5_; gint _tmp6_; gint _tmp7_; ValaList* _tmp8_; gint _tmp9_; gpointer _tmp10_ = NULL; ValaDataType* prereq; ValaDataType* _tmp11_; ValaTypeSymbol* _tmp12_; ValaTypeSymbol* _tmp13_; _tmp5_ = _prereq_index; _prereq_index = _tmp5_ + 1; _tmp6_ = _prereq_index; _tmp7_ = _prereq_size; if (!(_tmp6_ < _tmp7_)) { break; } _tmp8_ = _prereq_list; _tmp9_ = _prereq_index; _tmp10_ = vala_list_get (_tmp8_, _tmp9_); prereq = (ValaDataType*) _tmp10_; _tmp11_ = prereq; _tmp12_ = vala_data_type_get_data_type (_tmp11_); _tmp13_ = _tmp12_; if (VALA_IS_INTERFACE (_tmp13_)) { ValaInterface* _tmp14_; ValaDataType* _tmp15_; ValaTypeSymbol* _tmp16_; ValaTypeSymbol* _tmp17_; _tmp14_ = main_iface; _tmp15_ = prereq; _tmp16_ = vala_data_type_get_data_type (_tmp15_); _tmp17_ = _tmp16_; vala_gd_bus_client_module_generate_proxy_interface_init (self, _tmp14_, VALA_INTERFACE (_tmp17_)); } _vala_code_node_unref0 (prereq); } _vala_iterable_unref0 (_prereq_list); } _tmp18_ = main_iface; _tmp19_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp18_); _tmp20_ = _tmp19_; _tmp21_ = g_strconcat (_tmp20_, "proxy", NULL); _tmp22_ = _tmp21_; _g_free0 (_tmp20_); lower_cname = _tmp22_; _tmp23_ = lower_cname; _tmp24_ = g_strconcat (_tmp23_, "_", NULL); _tmp25_ = _tmp24_; _tmp26_ = iface; _tmp27_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp26_); _tmp28_ = _tmp27_; _tmp29_ = g_strconcat (_tmp25_, _tmp28_, NULL); _tmp30_ = _tmp29_; _tmp31_ = g_strconcat (_tmp30_, "interface_init", NULL); _tmp32_ = _tmp31_; _tmp33_ = vala_ccode_function_new (_tmp32_, "void"); _tmp34_ = _tmp33_; _g_free0 (_tmp32_); _g_free0 (_tmp30_); _g_free0 (_tmp28_); _g_free0 (_tmp25_); proxy_iface_init = _tmp34_; _tmp35_ = proxy_iface_init; _tmp36_ = iface; _tmp37_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp36_); _tmp38_ = _tmp37_; _tmp39_ = g_strconcat (_tmp38_, "Iface*", NULL); _tmp40_ = _tmp39_; _tmp41_ = vala_ccode_parameter_new ("iface", _tmp40_); _tmp42_ = _tmp41_; vala_ccode_function_add_parameter (_tmp35_, _tmp42_); _vala_ccode_node_unref0 (_tmp42_); _g_free0 (_tmp40_); _g_free0 (_tmp38_); _tmp43_ = proxy_iface_init; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp43_); { ValaInterface* _tmp44_; ValaList* _tmp45_ = NULL; ValaList* _m_list; ValaList* _tmp46_; gint _tmp47_; gint _tmp48_; gint _m_size; gint _m_index; _tmp44_ = iface; _tmp45_ = vala_object_type_symbol_get_methods ((ValaObjectTypeSymbol*) _tmp44_); _m_list = _tmp45_; _tmp46_ = _m_list; _tmp47_ = vala_collection_get_size ((ValaCollection*) _tmp46_); _tmp48_ = _tmp47_; _m_size = _tmp48_; _m_index = -1; while (TRUE) { gint _tmp49_; gint _tmp50_; gint _tmp51_; ValaList* _tmp52_; gint _tmp53_; gpointer _tmp54_ = NULL; ValaMethod* m; ValaMethod* _tmp55_; gboolean _tmp56_; gboolean _tmp57_; ValaCCodeIdentifier* _tmp58_; ValaCCodeIdentifier* _tmp59_; ValaMethod* _tmp60_; gchar* _tmp61_ = NULL; gchar* _tmp62_; ValaCCodeMemberAccess* _tmp63_; ValaCCodeMemberAccess* _tmp64_; ValaCCodeMemberAccess* vfunc_entry; ValaMethod* _tmp65_; gboolean _tmp66_; gboolean _tmp67_; _tmp49_ = _m_index; _m_index = _tmp49_ + 1; _tmp50_ = _m_index; _tmp51_ = _m_size; if (!(_tmp50_ < _tmp51_)) { break; } _tmp52_ = _m_list; _tmp53_ = _m_index; _tmp54_ = vala_list_get (_tmp52_, _tmp53_); m = (ValaMethod*) _tmp54_; _tmp55_ = m; _tmp56_ = vala_method_get_is_abstract (_tmp55_); _tmp57_ = _tmp56_; if (!_tmp57_) { _vala_code_node_unref0 (m); continue; } _tmp58_ = vala_ccode_identifier_new ("iface"); _tmp59_ = _tmp58_; _tmp60_ = m; _tmp61_ = vala_ccode_base_module_get_ccode_vfunc_name (_tmp60_); _tmp62_ = _tmp61_; _tmp63_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp59_, _tmp62_); _tmp64_ = _tmp63_; _g_free0 (_tmp62_); _vala_ccode_node_unref0 (_tmp59_); vfunc_entry = _tmp64_; _tmp65_ = m; _tmp66_ = vala_method_get_coroutine (_tmp65_); _tmp67_ = _tmp66_; if (!_tmp67_) { ValaCCodeFunction* _tmp68_; ValaCCodeFunction* _tmp69_; ValaCCodeMemberAccess* _tmp70_; ValaInterface* _tmp71_; ValaInterface* _tmp72_; ValaMethod* _tmp73_; gchar* _tmp74_ = NULL; gchar* _tmp75_; ValaCCodeIdentifier* _tmp76_; ValaCCodeIdentifier* _tmp77_; _tmp68_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp69_ = _tmp68_; _tmp70_ = vfunc_entry; _tmp71_ = main_iface; _tmp72_ = iface; _tmp73_ = m; _tmp74_ = vala_gd_bus_client_module_generate_dbus_proxy_method (self, _tmp71_, _tmp72_, _tmp73_); _tmp75_ = _tmp74_; _tmp76_ = vala_ccode_identifier_new (_tmp75_); _tmp77_ = _tmp76_; vala_ccode_function_add_assignment (_tmp69_, (ValaCCodeExpression*) _tmp70_, (ValaCCodeExpression*) _tmp77_); _vala_ccode_node_unref0 (_tmp77_); _g_free0 (_tmp75_); } else { ValaCCodeFunction* _tmp78_; ValaCCodeFunction* _tmp79_; ValaCCodeMemberAccess* _tmp80_; ValaInterface* _tmp81_; ValaInterface* _tmp82_; ValaMethod* _tmp83_; gchar* _tmp84_ = NULL; gchar* _tmp85_; ValaCCodeIdentifier* _tmp86_; ValaCCodeIdentifier* _tmp87_; ValaCCodeIdentifier* _tmp88_; ValaCCodeIdentifier* _tmp89_; ValaMethod* _tmp90_; gchar* _tmp91_ = NULL; gchar* _tmp92_; ValaCCodeMemberAccess* _tmp93_; ValaCCodeFunction* _tmp94_; ValaCCodeFunction* _tmp95_; ValaCCodeMemberAccess* _tmp96_; ValaInterface* _tmp97_; ValaInterface* _tmp98_; ValaMethod* _tmp99_; gchar* _tmp100_ = NULL; gchar* _tmp101_; ValaCCodeIdentifier* _tmp102_; ValaCCodeIdentifier* _tmp103_; _tmp78_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp79_ = _tmp78_; _tmp80_ = vfunc_entry; _tmp81_ = main_iface; _tmp82_ = iface; _tmp83_ = m; _tmp84_ = vala_gd_bus_client_module_generate_async_dbus_proxy_method (self, _tmp81_, _tmp82_, _tmp83_); _tmp85_ = _tmp84_; _tmp86_ = vala_ccode_identifier_new (_tmp85_); _tmp87_ = _tmp86_; vala_ccode_function_add_assignment (_tmp79_, (ValaCCodeExpression*) _tmp80_, (ValaCCodeExpression*) _tmp87_); _vala_ccode_node_unref0 (_tmp87_); _g_free0 (_tmp85_); _tmp88_ = vala_ccode_identifier_new ("iface"); _tmp89_ = _tmp88_; _tmp90_ = m; _tmp91_ = vala_ccode_base_module_get_ccode_finish_vfunc_name (_tmp90_); _tmp92_ = _tmp91_; _tmp93_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp89_, _tmp92_); _vala_ccode_node_unref0 (vfunc_entry); vfunc_entry = _tmp93_; _g_free0 (_tmp92_); _vala_ccode_node_unref0 (_tmp89_); _tmp94_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp95_ = _tmp94_; _tmp96_ = vfunc_entry; _tmp97_ = main_iface; _tmp98_ = iface; _tmp99_ = m; _tmp100_ = vala_gd_bus_client_module_generate_finish_dbus_proxy_method (self, _tmp97_, _tmp98_, _tmp99_); _tmp101_ = _tmp100_; _tmp102_ = vala_ccode_identifier_new (_tmp101_); _tmp103_ = _tmp102_; vala_ccode_function_add_assignment (_tmp95_, (ValaCCodeExpression*) _tmp96_, (ValaCCodeExpression*) _tmp103_); _vala_ccode_node_unref0 (_tmp103_); _g_free0 (_tmp101_); } _vala_ccode_node_unref0 (vfunc_entry); _vala_code_node_unref0 (m); } _vala_iterable_unref0 (_m_list); } { ValaInterface* _tmp104_; ValaList* _tmp105_ = NULL; ValaList* _prop_list; ValaList* _tmp106_; gint _tmp107_; gint _tmp108_; gint _prop_size; gint _prop_index; _tmp104_ = iface; _tmp105_ = vala_object_type_symbol_get_properties ((ValaObjectTypeSymbol*) _tmp104_); _prop_list = _tmp105_; _tmp106_ = _prop_list; _tmp107_ = vala_collection_get_size ((ValaCollection*) _tmp106_); _tmp108_ = _tmp107_; _prop_size = _tmp108_; _prop_index = -1; while (TRUE) { gint _tmp109_; gint _tmp110_; gint _tmp111_; ValaList* _tmp112_; gint _tmp113_; gpointer _tmp114_ = NULL; ValaProperty* prop; ValaProperty* _tmp115_; gboolean _tmp116_; gboolean _tmp117_; ValaProperty* _tmp118_; ValaPropertyAccessor* _tmp119_; ValaPropertyAccessor* _tmp120_; ValaProperty* _tmp140_; ValaPropertyAccessor* _tmp141_; ValaPropertyAccessor* _tmp142_; _tmp109_ = _prop_index; _prop_index = _tmp109_ + 1; _tmp110_ = _prop_index; _tmp111_ = _prop_size; if (!(_tmp110_ < _tmp111_)) { break; } _tmp112_ = _prop_list; _tmp113_ = _prop_index; _tmp114_ = vala_list_get (_tmp112_, _tmp113_); prop = (ValaProperty*) _tmp114_; _tmp115_ = prop; _tmp116_ = vala_property_get_is_abstract (_tmp115_); _tmp117_ = _tmp116_; if (!_tmp117_) { _vala_code_node_unref0 (prop); continue; } _tmp118_ = prop; _tmp119_ = vala_property_get_get_accessor (_tmp118_); _tmp120_ = _tmp119_; if (_tmp120_ != NULL) { ValaCCodeIdentifier* _tmp121_; ValaCCodeIdentifier* _tmp122_; ValaProperty* _tmp123_; const gchar* _tmp124_; const gchar* _tmp125_; gchar* _tmp126_; gchar* _tmp127_; ValaCCodeMemberAccess* _tmp128_; ValaCCodeMemberAccess* _tmp129_; ValaCCodeMemberAccess* vfunc_entry; ValaCCodeFunction* _tmp130_; ValaCCodeFunction* _tmp131_; ValaCCodeMemberAccess* _tmp132_; ValaInterface* _tmp133_; ValaInterface* _tmp134_; ValaProperty* _tmp135_; gchar* _tmp136_ = NULL; gchar* _tmp137_; ValaCCodeIdentifier* _tmp138_; ValaCCodeIdentifier* _tmp139_; _tmp121_ = vala_ccode_identifier_new ("iface"); _tmp122_ = _tmp121_; _tmp123_ = prop; _tmp124_ = vala_symbol_get_name ((ValaSymbol*) _tmp123_); _tmp125_ = _tmp124_; _tmp126_ = g_strconcat ("get_", _tmp125_, NULL); _tmp127_ = _tmp126_; _tmp128_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp122_, _tmp127_); _tmp129_ = _tmp128_; _g_free0 (_tmp127_); _vala_ccode_node_unref0 (_tmp122_); vfunc_entry = _tmp129_; _tmp130_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp131_ = _tmp130_; _tmp132_ = vfunc_entry; _tmp133_ = main_iface; _tmp134_ = iface; _tmp135_ = prop; _tmp136_ = vala_gd_bus_client_module_generate_dbus_proxy_property_get (self, _tmp133_, _tmp134_, _tmp135_); _tmp137_ = _tmp136_; _tmp138_ = vala_ccode_identifier_new (_tmp137_); _tmp139_ = _tmp138_; vala_ccode_function_add_assignment (_tmp131_, (ValaCCodeExpression*) _tmp132_, (ValaCCodeExpression*) _tmp139_); _vala_ccode_node_unref0 (_tmp139_); _g_free0 (_tmp137_); _vala_ccode_node_unref0 (vfunc_entry); } _tmp140_ = prop; _tmp141_ = vala_property_get_set_accessor (_tmp140_); _tmp142_ = _tmp141_; if (_tmp142_ != NULL) { ValaCCodeIdentifier* _tmp143_; ValaCCodeIdentifier* _tmp144_; ValaProperty* _tmp145_; const gchar* _tmp146_; const gchar* _tmp147_; gchar* _tmp148_; gchar* _tmp149_; ValaCCodeMemberAccess* _tmp150_; ValaCCodeMemberAccess* _tmp151_; ValaCCodeMemberAccess* vfunc_entry; ValaCCodeFunction* _tmp152_; ValaCCodeFunction* _tmp153_; ValaCCodeMemberAccess* _tmp154_; ValaInterface* _tmp155_; ValaInterface* _tmp156_; ValaProperty* _tmp157_; gchar* _tmp158_ = NULL; gchar* _tmp159_; ValaCCodeIdentifier* _tmp160_; ValaCCodeIdentifier* _tmp161_; _tmp143_ = vala_ccode_identifier_new ("iface"); _tmp144_ = _tmp143_; _tmp145_ = prop; _tmp146_ = vala_symbol_get_name ((ValaSymbol*) _tmp145_); _tmp147_ = _tmp146_; _tmp148_ = g_strconcat ("set_", _tmp147_, NULL); _tmp149_ = _tmp148_; _tmp150_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp144_, _tmp149_); _tmp151_ = _tmp150_; _g_free0 (_tmp149_); _vala_ccode_node_unref0 (_tmp144_); vfunc_entry = _tmp151_; _tmp152_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp153_ = _tmp152_; _tmp154_ = vfunc_entry; _tmp155_ = main_iface; _tmp156_ = iface; _tmp157_ = prop; _tmp158_ = vala_gd_bus_client_module_generate_dbus_proxy_property_set (self, _tmp155_, _tmp156_, _tmp157_); _tmp159_ = _tmp158_; _tmp160_ = vala_ccode_identifier_new (_tmp159_); _tmp161_ = _tmp160_; vala_ccode_function_add_assignment (_tmp153_, (ValaCCodeExpression*) _tmp154_, (ValaCCodeExpression*) _tmp161_); _vala_ccode_node_unref0 (_tmp161_); _g_free0 (_tmp159_); _vala_ccode_node_unref0 (vfunc_entry); } _vala_code_node_unref0 (prop); } _vala_iterable_unref0 (_prop_list); } _tmp162_ = proxy_iface_init; vala_ccode_function_set_modifiers (_tmp162_, VALA_CCODE_MODIFIERS_STATIC); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp163_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp164_ = proxy_iface_init; vala_ccode_file_add_function_declaration (_tmp163_, _tmp164_); _tmp165_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp166_ = proxy_iface_init; vala_ccode_file_add_function (_tmp165_, _tmp166_); _vala_ccode_node_unref0 (proxy_iface_init); _g_free0 (lower_cname); } static gchar* vala_gd_bus_client_module_implement_interface (ValaGDBusClientModule* self, ValaCCodeFunctionCall* define_type, ValaInterface* main_iface, ValaInterface* iface) { gchar* result = NULL; gchar* _tmp0_; gchar* _result_; const gchar* _tmp24_; ValaInterface* _tmp25_; gchar* _tmp26_ = NULL; gchar* _tmp27_; ValaInterface* _tmp28_; gchar* _tmp29_ = NULL; gchar* _tmp30_; ValaInterface* _tmp31_; gchar* _tmp32_ = NULL; gchar* _tmp33_; gchar* _tmp34_ = NULL; gchar* _tmp35_; gchar* _tmp36_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (define_type != NULL, NULL); g_return_val_if_fail (main_iface != NULL, NULL); g_return_val_if_fail (iface != NULL, NULL); _tmp0_ = g_strdup (""); _result_ = _tmp0_; { ValaInterface* _tmp1_; ValaList* _tmp2_ = NULL; ValaList* _prereq_list; ValaList* _tmp3_; gint _tmp4_; gint _tmp5_; gint _prereq_size; gint _prereq_index; _tmp1_ = iface; _tmp2_ = vala_interface_get_prerequisites (_tmp1_); _prereq_list = _tmp2_; _tmp3_ = _prereq_list; _tmp4_ = vala_collection_get_size ((ValaCollection*) _tmp3_); _tmp5_ = _tmp4_; _prereq_size = _tmp5_; _prereq_index = -1; while (TRUE) { gint _tmp6_; gint _tmp7_; gint _tmp8_; ValaList* _tmp9_; gint _tmp10_; gpointer _tmp11_ = NULL; ValaDataType* prereq; ValaDataType* _tmp12_; ValaTypeSymbol* _tmp13_; ValaTypeSymbol* _tmp14_; _tmp6_ = _prereq_index; _prereq_index = _tmp6_ + 1; _tmp7_ = _prereq_index; _tmp8_ = _prereq_size; if (!(_tmp7_ < _tmp8_)) { break; } _tmp9_ = _prereq_list; _tmp10_ = _prereq_index; _tmp11_ = vala_list_get (_tmp9_, _tmp10_); prereq = (ValaDataType*) _tmp11_; _tmp12_ = prereq; _tmp13_ = vala_data_type_get_data_type (_tmp12_); _tmp14_ = _tmp13_; if (VALA_IS_INTERFACE (_tmp14_)) { const gchar* _tmp15_; ValaCCodeFunctionCall* _tmp16_; ValaInterface* _tmp17_; ValaDataType* _tmp18_; ValaTypeSymbol* _tmp19_; ValaTypeSymbol* _tmp20_; gchar* _tmp21_ = NULL; gchar* _tmp22_; gchar* _tmp23_; _tmp15_ = _result_; _tmp16_ = define_type; _tmp17_ = main_iface; _tmp18_ = prereq; _tmp19_ = vala_data_type_get_data_type (_tmp18_); _tmp20_ = _tmp19_; _tmp21_ = vala_gd_bus_client_module_implement_interface (self, _tmp16_, _tmp17_, VALA_INTERFACE (_tmp20_)); _tmp22_ = _tmp21_; _tmp23_ = g_strconcat (_tmp15_, _tmp22_, NULL); _g_free0 (_result_); _result_ = _tmp23_; _g_free0 (_tmp22_); } _vala_code_node_unref0 (prereq); } _vala_iterable_unref0 (_prereq_list); } _tmp24_ = _result_; _tmp25_ = iface; _tmp26_ = vala_ccode_base_module_get_ccode_upper_case_name ((ValaSymbol*) _tmp25_, "TYPE_"); _tmp27_ = _tmp26_; _tmp28_ = main_iface; _tmp29_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp28_); _tmp30_ = _tmp29_; _tmp31_ = iface; _tmp32_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp31_); _tmp33_ = _tmp32_; _tmp34_ = g_strdup_printf ("G_IMPLEMENT_INTERFACE (%s, %sproxy_%sinterface_init) ", _tmp27_, _tmp30_, _tmp33_); _tmp35_ = _tmp34_; _tmp36_ = g_strconcat (_tmp24_, _tmp35_, NULL); _g_free0 (_result_); _result_ = _tmp36_; _g_free0 (_tmp35_); _g_free0 (_tmp33_); _g_free0 (_tmp30_); _g_free0 (_tmp27_); result = _result_; return result; } static void vala_gd_bus_client_module_real_generate_interface_declaration (ValaCCodeBaseModule* base, ValaInterface* iface, ValaCCodeFile* decl_space) { ValaGDBusClientModule * self; ValaInterface* _tmp0_; ValaCCodeFile* _tmp1_; ValaInterface* _tmp2_; gchar* _tmp3_ = NULL; gchar* dbus_iface_name; const gchar* _tmp4_; ValaInterface* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* _tmp8_ = NULL; gchar* _tmp9_; gchar* get_type_name; ValaCCodeFile* _tmp10_; ValaInterface* _tmp11_; const gchar* _tmp12_; gboolean _tmp13_ = FALSE; ValaCCodeFile* _tmp14_; ValaCCodeNewline* _tmp15_; ValaCCodeNewline* _tmp16_; const gchar* _tmp17_; gchar* _tmp18_ = NULL; gchar* macro; ValaCCodeFile* _tmp19_; ValaInterface* _tmp20_; gchar* _tmp21_ = NULL; gchar* _tmp22_; gchar* _tmp23_ = NULL; gchar* _tmp24_; const gchar* _tmp25_; ValaCCodeMacroReplacement* _tmp26_; ValaCCodeMacroReplacement* _tmp27_; const gchar* _tmp28_; ValaCCodeFunction* _tmp29_; ValaCCodeFunction* proxy_get_type; ValaCCodeFunction* _tmp30_; ValaCCodeFile* _tmp31_; ValaCCodeFunction* _tmp32_; self = (ValaGDBusClientModule*) base; g_return_if_fail (iface != NULL); g_return_if_fail (decl_space != NULL); _tmp0_ = iface; _tmp1_ = decl_space; VALA_CCODE_BASE_MODULE_CLASS (vala_gd_bus_client_module_parent_class)->generate_interface_declaration ((ValaCCodeBaseModule*) VALA_GD_BUS_MODULE (self), _tmp0_, _tmp1_); _tmp2_ = iface; _tmp3_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp2_); dbus_iface_name = _tmp3_; _tmp4_ = dbus_iface_name; if (_tmp4_ == NULL) { _g_free0 (dbus_iface_name); return; } _tmp5_ = iface; _tmp6_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp5_); _tmp7_ = _tmp6_; _tmp8_ = g_strdup_printf ("%sproxy_get_type", _tmp7_); _tmp9_ = _tmp8_; _g_free0 (_tmp7_); get_type_name = _tmp9_; _tmp10_ = decl_space; _tmp11_ = iface; _tmp12_ = get_type_name; _tmp13_ = vala_ccode_base_module_add_symbol_declaration ((ValaCCodeBaseModule*) self, _tmp10_, (ValaSymbol*) _tmp11_, _tmp12_); if (_tmp13_) { _g_free0 (get_type_name); _g_free0 (dbus_iface_name); return; } _tmp14_ = decl_space; _tmp15_ = vala_ccode_newline_new (); _tmp16_ = _tmp15_; vala_ccode_file_add_type_declaration (_tmp14_, (ValaCCodeNode*) _tmp16_); _vala_ccode_node_unref0 (_tmp16_); _tmp17_ = get_type_name; _tmp18_ = g_strdup_printf ("(%s ())", _tmp17_); macro = _tmp18_; _tmp19_ = decl_space; _tmp20_ = iface; _tmp21_ = vala_ccode_base_module_get_ccode_type_id ((ValaCodeNode*) _tmp20_); _tmp22_ = _tmp21_; _tmp23_ = g_strdup_printf ("%s_PROXY", _tmp22_); _tmp24_ = _tmp23_; _tmp25_ = macro; _tmp26_ = vala_ccode_macro_replacement_new (_tmp24_, _tmp25_); _tmp27_ = _tmp26_; vala_ccode_file_add_type_declaration (_tmp19_, (ValaCCodeNode*) _tmp27_); _vala_ccode_node_unref0 (_tmp27_); _g_free0 (_tmp24_); _g_free0 (_tmp22_); _tmp28_ = get_type_name; _tmp29_ = vala_ccode_function_new (_tmp28_, "GType"); proxy_get_type = _tmp29_; _tmp30_ = proxy_get_type; vala_ccode_function_set_attributes (_tmp30_, "G_GNUC_CONST"); _tmp31_ = decl_space; _tmp32_ = proxy_get_type; vala_ccode_file_add_function_declaration (_tmp31_, _tmp32_); _vala_ccode_node_unref0 (proxy_get_type); _g_free0 (macro); _g_free0 (get_type_name); _g_free0 (dbus_iface_name); } static void vala_gd_bus_client_module_real_visit_interface (ValaCodeVisitor* base, ValaInterface* iface) { ValaGDBusClientModule * self; ValaInterface* _tmp0_; ValaInterface* _tmp1_; gchar* _tmp2_ = NULL; gchar* dbus_iface_name; const gchar* _tmp3_; ValaCCodeFile* _tmp4_; ValaInterface* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* _tmp8_; gchar* _tmp9_; gchar* cname; ValaInterface* _tmp10_; gchar* _tmp11_ = NULL; gchar* _tmp12_; gchar* _tmp13_; gchar* _tmp14_; gchar* lower_cname; ValaCCodeFile* _tmp15_; const gchar* _tmp16_; ValaCCodeVariableDeclarator* _tmp17_; ValaCCodeVariableDeclarator* _tmp18_; ValaCCodeTypeDefinition* _tmp19_; ValaCCodeTypeDefinition* _tmp20_; ValaCCodeFile* _tmp21_; const gchar* _tmp22_; gchar* _tmp23_; gchar* _tmp24_; ValaCCodeVariableDeclarator* _tmp25_; ValaCCodeVariableDeclarator* _tmp26_; ValaCCodeTypeDefinition* _tmp27_; ValaCCodeTypeDefinition* _tmp28_; ValaCCodeIdentifier* _tmp29_; ValaCCodeIdentifier* _tmp30_; ValaCCodeFunctionCall* _tmp31_; ValaCCodeFunctionCall* _tmp32_; ValaCCodeFunctionCall* define_type; ValaCCodeFunctionCall* _tmp33_; const gchar* _tmp34_; ValaCCodeIdentifier* _tmp35_; ValaCCodeIdentifier* _tmp36_; ValaCCodeFunctionCall* _tmp37_; const gchar* _tmp38_; ValaCCodeIdentifier* _tmp39_; ValaCCodeIdentifier* _tmp40_; ValaCCodeFunctionCall* _tmp41_; ValaCCodeIdentifier* _tmp42_; ValaCCodeIdentifier* _tmp43_; ValaCCodeFunctionCall* _tmp44_; ValaCCodeConstant* _tmp45_; ValaCCodeConstant* _tmp46_; ValaCCodeFunctionCall* _tmp47_; ValaCCodeFunctionCall* _tmp48_; ValaInterface* _tmp49_; ValaInterface* _tmp50_; gchar* _tmp51_ = NULL; gchar* _tmp52_; ValaCCodeIdentifier* _tmp53_; ValaCCodeIdentifier* _tmp54_; ValaCCodeFile* _tmp55_; ValaCCodeFunctionCall* _tmp56_; const gchar* _tmp57_; gchar* _tmp58_; gchar* _tmp59_; ValaCCodeFunction* _tmp60_; ValaCCodeFunction* _tmp61_; ValaCCodeFunction* proxy_class_init; ValaCCodeFunction* _tmp62_; const gchar* _tmp63_; gchar* _tmp64_; gchar* _tmp65_; ValaCCodeParameter* _tmp66_; ValaCCodeParameter* _tmp67_; ValaCCodeFunction* _tmp68_; ValaCCodeFunction* _tmp69_; ValaCCodeIdentifier* _tmp70_; ValaCCodeIdentifier* _tmp71_; ValaCCodeFunctionCall* _tmp72_; ValaCCodeFunctionCall* _tmp73_; ValaCCodeFunctionCall* proxy_class; ValaCCodeFunctionCall* _tmp74_; ValaCCodeIdentifier* _tmp75_; ValaCCodeIdentifier* _tmp76_; ValaCCodeFunction* _tmp77_; ValaCCodeFunction* _tmp78_; ValaCCodeFunctionCall* _tmp79_; ValaCCodeMemberAccess* _tmp80_; ValaCCodeMemberAccess* _tmp81_; const gchar* _tmp82_; gchar* _tmp83_; gchar* _tmp84_; ValaCCodeIdentifier* _tmp85_; ValaCCodeIdentifier* _tmp86_; ValaCCodeFile* _tmp87_; ValaCCodeFunction* _tmp88_; ValaInterface* _tmp89_; const gchar* _tmp90_; gchar* _tmp91_; gchar* _tmp92_; ValaCCodeFunction* _tmp93_; ValaCCodeFunction* _tmp94_; ValaCCodeFunction* proxy_instance_init; ValaCCodeFunction* _tmp95_; const gchar* _tmp96_; gchar* _tmp97_; gchar* _tmp98_; ValaCCodeParameter* _tmp99_; ValaCCodeParameter* _tmp100_; ValaCCodeFunction* _tmp101_; ValaCCodeFile* _tmp102_; ValaCCodeFunction* _tmp103_; ValaInterface* _tmp104_; ValaInterface* _tmp105_; self = (ValaGDBusClientModule*) base; g_return_if_fail (iface != NULL); _tmp0_ = iface; VALA_CODE_VISITOR_CLASS (vala_gd_bus_client_module_parent_class)->visit_interface ((ValaCodeVisitor*) VALA_GD_BUS_MODULE (self), _tmp0_); _tmp1_ = iface; _tmp2_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp1_); dbus_iface_name = _tmp2_; _tmp3_ = dbus_iface_name; if (_tmp3_ == NULL) { _g_free0 (dbus_iface_name); return; } _tmp4_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_include (_tmp4_, "gio/gio.h", FALSE); _tmp5_ = iface; _tmp6_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp5_); _tmp7_ = _tmp6_; _tmp8_ = g_strconcat (_tmp7_, "Proxy", NULL); _tmp9_ = _tmp8_; _g_free0 (_tmp7_); cname = _tmp9_; _tmp10_ = iface; _tmp11_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp10_); _tmp12_ = _tmp11_; _tmp13_ = g_strconcat (_tmp12_, "proxy", NULL); _tmp14_ = _tmp13_; _g_free0 (_tmp12_); lower_cname = _tmp14_; _tmp15_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp16_ = cname; _tmp17_ = vala_ccode_variable_declarator_new (_tmp16_, NULL, NULL); _tmp18_ = _tmp17_; _tmp19_ = vala_ccode_type_definition_new ("GDBusProxy", (ValaCCodeDeclarator*) _tmp18_); _tmp20_ = _tmp19_; vala_ccode_file_add_type_declaration (_tmp15_, (ValaCCodeNode*) _tmp20_); _vala_ccode_node_unref0 (_tmp20_); _vala_ccode_node_unref0 (_tmp18_); _tmp21_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp22_ = cname; _tmp23_ = g_strconcat (_tmp22_, "Class", NULL); _tmp24_ = _tmp23_; _tmp25_ = vala_ccode_variable_declarator_new (_tmp24_, NULL, NULL); _tmp26_ = _tmp25_; _tmp27_ = vala_ccode_type_definition_new ("GDBusProxyClass", (ValaCCodeDeclarator*) _tmp26_); _tmp28_ = _tmp27_; vala_ccode_file_add_type_declaration (_tmp21_, (ValaCCodeNode*) _tmp28_); _vala_ccode_node_unref0 (_tmp28_); _vala_ccode_node_unref0 (_tmp26_); _g_free0 (_tmp24_); _tmp29_ = vala_ccode_identifier_new ("G_DEFINE_TYPE_EXTENDED"); _tmp30_ = _tmp29_; _tmp31_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp30_); _tmp32_ = _tmp31_; _vala_ccode_node_unref0 (_tmp30_); define_type = _tmp32_; _tmp33_ = define_type; _tmp34_ = cname; _tmp35_ = vala_ccode_identifier_new (_tmp34_); _tmp36_ = _tmp35_; vala_ccode_function_call_add_argument (_tmp33_, (ValaCCodeExpression*) _tmp36_); _vala_ccode_node_unref0 (_tmp36_); _tmp37_ = define_type; _tmp38_ = lower_cname; _tmp39_ = vala_ccode_identifier_new (_tmp38_); _tmp40_ = _tmp39_; vala_ccode_function_call_add_argument (_tmp37_, (ValaCCodeExpression*) _tmp40_); _vala_ccode_node_unref0 (_tmp40_); _tmp41_ = define_type; _tmp42_ = vala_ccode_identifier_new ("G_TYPE_DBUS_PROXY"); _tmp43_ = _tmp42_; vala_ccode_function_call_add_argument (_tmp41_, (ValaCCodeExpression*) _tmp43_); _vala_ccode_node_unref0 (_tmp43_); _tmp44_ = define_type; _tmp45_ = vala_ccode_constant_new ("0"); _tmp46_ = _tmp45_; vala_ccode_function_call_add_argument (_tmp44_, (ValaCCodeExpression*) _tmp46_); _vala_ccode_node_unref0 (_tmp46_); _tmp47_ = define_type; _tmp48_ = define_type; _tmp49_ = iface; _tmp50_ = iface; _tmp51_ = vala_gd_bus_client_module_implement_interface (self, _tmp48_, _tmp49_, _tmp50_); _tmp52_ = _tmp51_; _tmp53_ = vala_ccode_identifier_new (_tmp52_); _tmp54_ = _tmp53_; vala_ccode_function_call_add_argument (_tmp47_, (ValaCCodeExpression*) _tmp54_); _vala_ccode_node_unref0 (_tmp54_); _g_free0 (_tmp52_); _tmp55_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp56_ = define_type; vala_ccode_file_add_type_member_definition (_tmp55_, (ValaCCodeNode*) _tmp56_); _tmp57_ = lower_cname; _tmp58_ = g_strconcat (_tmp57_, "_class_init", NULL); _tmp59_ = _tmp58_; _tmp60_ = vala_ccode_function_new (_tmp59_, "void"); _tmp61_ = _tmp60_; _g_free0 (_tmp59_); proxy_class_init = _tmp61_; _tmp62_ = proxy_class_init; _tmp63_ = cname; _tmp64_ = g_strconcat (_tmp63_, "Class*", NULL); _tmp65_ = _tmp64_; _tmp66_ = vala_ccode_parameter_new ("klass", _tmp65_); _tmp67_ = _tmp66_; vala_ccode_function_add_parameter (_tmp62_, _tmp67_); _vala_ccode_node_unref0 (_tmp67_); _g_free0 (_tmp65_); _tmp68_ = proxy_class_init; vala_ccode_function_set_modifiers (_tmp68_, VALA_CCODE_MODIFIERS_STATIC); _tmp69_ = proxy_class_init; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp69_); _tmp70_ = vala_ccode_identifier_new ("G_DBUS_PROXY_CLASS"); _tmp71_ = _tmp70_; _tmp72_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp71_); _tmp73_ = _tmp72_; _vala_ccode_node_unref0 (_tmp71_); proxy_class = _tmp73_; _tmp74_ = proxy_class; _tmp75_ = vala_ccode_identifier_new ("klass"); _tmp76_ = _tmp75_; vala_ccode_function_call_add_argument (_tmp74_, (ValaCCodeExpression*) _tmp76_); _vala_ccode_node_unref0 (_tmp76_); _tmp77_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp78_ = _tmp77_; _tmp79_ = proxy_class; _tmp80_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp79_, "g_signal"); _tmp81_ = _tmp80_; _tmp82_ = lower_cname; _tmp83_ = g_strconcat (_tmp82_, "_g_signal", NULL); _tmp84_ = _tmp83_; _tmp85_ = vala_ccode_identifier_new (_tmp84_); _tmp86_ = _tmp85_; vala_ccode_function_add_assignment (_tmp78_, (ValaCCodeExpression*) _tmp81_, (ValaCCodeExpression*) _tmp86_); _vala_ccode_node_unref0 (_tmp86_); _g_free0 (_tmp84_); _vala_ccode_node_unref0 (_tmp81_); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp87_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp88_ = proxy_class_init; vala_ccode_file_add_function (_tmp87_, _tmp88_); _tmp89_ = iface; vala_gd_bus_client_module_generate_signal_handler_function (self, (ValaObjectTypeSymbol*) _tmp89_); _tmp90_ = lower_cname; _tmp91_ = g_strconcat (_tmp90_, "_init", NULL); _tmp92_ = _tmp91_; _tmp93_ = vala_ccode_function_new (_tmp92_, "void"); _tmp94_ = _tmp93_; _g_free0 (_tmp92_); proxy_instance_init = _tmp94_; _tmp95_ = proxy_instance_init; _tmp96_ = cname; _tmp97_ = g_strconcat (_tmp96_, "*", NULL); _tmp98_ = _tmp97_; _tmp99_ = vala_ccode_parameter_new ("self", _tmp98_); _tmp100_ = _tmp99_; vala_ccode_function_add_parameter (_tmp95_, _tmp100_); _vala_ccode_node_unref0 (_tmp100_); _g_free0 (_tmp98_); _tmp101_ = proxy_instance_init; vala_ccode_function_set_modifiers (_tmp101_, VALA_CCODE_MODIFIERS_STATIC); _tmp102_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp103_ = proxy_instance_init; vala_ccode_file_add_function (_tmp102_, _tmp103_); _tmp104_ = iface; _tmp105_ = iface; vala_gd_bus_client_module_generate_proxy_interface_init (self, _tmp104_, _tmp105_); _vala_ccode_node_unref0 (proxy_instance_init); _vala_ccode_node_unref0 (proxy_class); _vala_ccode_node_unref0 (proxy_class_init); _vala_ccode_node_unref0 (define_type); _g_free0 (lower_cname); _g_free0 (cname); _g_free0 (dbus_iface_name); } static gpointer _vala_ccode_node_ref0 (gpointer self) { return self ? vala_ccode_node_ref (self) : NULL; } static void vala_gd_bus_client_module_real_visit_method_call (ValaCodeVisitor* base, ValaMethodCall* expr) { ValaGDBusClientModule * self; ValaMethodCall* _tmp0_; ValaExpression* _tmp1_; ValaExpression* _tmp2_; ValaDataType* _tmp3_; ValaDataType* _tmp4_; ValaMethodType* _tmp5_; ValaMethodType* mtype; gboolean _tmp6_ = FALSE; ValaMethodType* _tmp7_; gboolean _tmp13_; gboolean bus_get_proxy_async; gboolean _tmp14_ = FALSE; ValaMethodType* _tmp15_; gboolean _tmp21_; gboolean bus_get_proxy_sync; gboolean _tmp22_ = FALSE; ValaMethodType* _tmp23_; gboolean _tmp29_; gboolean conn_get_proxy_async; gboolean _tmp30_ = FALSE; ValaMethodType* _tmp31_; gboolean _tmp37_; gboolean conn_get_proxy_sync; gboolean _tmp38_ = FALSE; gboolean _tmp39_ = FALSE; gboolean _tmp40_ = FALSE; gboolean _tmp41_; gboolean _tmp43_; gboolean _tmp45_; gboolean _tmp47_; ValaMethodCall* _tmp49_; ValaExpression* _tmp50_; ValaExpression* _tmp51_; ValaMemberAccess* _tmp52_; ValaMemberAccess* ma; ValaMemberAccess* _tmp53_; ValaList* _tmp54_ = NULL; ValaList* _tmp55_; gpointer _tmp56_ = NULL; ValaDataType* _tmp57_; ValaDataType* type_arg; ValaCCodeExpression* proxy_type = NULL; ValaCCodeExpression* dbus_iface_name = NULL; ValaDataType* _tmp58_; ValaObjectType* _tmp59_; ValaObjectType* object_type; ValaObjectType* _tmp60_; gboolean _tmp127_ = FALSE; gboolean _tmp128_; gboolean _tmp130_; gint base_arg_index; gboolean _tmp218_ = FALSE; gboolean _tmp219_; gboolean _tmp221_; ValaMethodCall* _tmp222_; ValaList* _tmp223_ = NULL; ValaList* args; ValaList* _tmp224_; gint _tmp225_; gpointer _tmp226_ = NULL; ValaExpression* name; ValaList* _tmp227_; gint _tmp228_; gpointer _tmp229_ = NULL; ValaExpression* object_path; ValaList* _tmp230_; gint _tmp231_; gpointer _tmp232_ = NULL; ValaExpression* flags; ValaList* _tmp233_; gint _tmp234_; gpointer _tmp235_ = NULL; ValaExpression* cancellable; ValaCCodeFunctionCall* ccall = NULL; gboolean _tmp236_ = FALSE; gboolean _tmp237_; gboolean _tmp239_; ValaCCodeFunctionCall* _tmp246_; ValaCCodeExpression* _tmp247_; gboolean _tmp248_ = FALSE; gboolean _tmp249_; gboolean _tmp251_; ValaCCodeFunctionCall* _tmp255_; ValaExpression* _tmp256_; ValaCCodeExpression* _tmp257_ = NULL; ValaCCodeExpression* _tmp258_; gboolean _tmp259_ = FALSE; gboolean _tmp260_; gboolean _tmp262_; ValaCCodeFunctionCall* _tmp292_; ValaCCodeConstant* _tmp293_; ValaCCodeConstant* _tmp294_; ValaCCodeFunctionCall* _tmp295_; ValaExpression* _tmp296_; ValaCCodeExpression* _tmp297_ = NULL; ValaCCodeExpression* _tmp298_; ValaCCodeFunctionCall* _tmp299_; ValaCCodeConstant* _tmp300_; ValaCCodeConstant* _tmp301_; ValaCCodeFunctionCall* _tmp302_; ValaExpression* _tmp303_; ValaCCodeExpression* _tmp304_ = NULL; ValaCCodeExpression* _tmp305_; gboolean _tmp306_ = FALSE; gboolean _tmp307_; gboolean _tmp309_; ValaCCodeFunctionCall* _tmp351_; ValaCCodeConstant* _tmp352_; ValaCCodeConstant* _tmp353_; ValaCCodeFunctionCall* _tmp354_; ValaExpression* _tmp355_; ValaCCodeExpression* _tmp356_ = NULL; ValaCCodeExpression* _tmp357_; ValaCCodeFunctionCall* _tmp358_; ValaCCodeConstant* _tmp359_; ValaCCodeConstant* _tmp360_; ValaCCodeFunctionCall* _tmp361_; ValaCCodeExpression* _tmp362_; ValaCCodeFunctionCall* _tmp363_; ValaCCodeConstant* _tmp364_; ValaCCodeConstant* _tmp365_; gboolean _tmp366_ = FALSE; gboolean _tmp367_; gboolean _tmp369_; ValaMethodCall* _tmp418_; ValaDataType* _tmp419_; ValaDataType* _tmp420_; ValaMethodCall* _tmp421_; ValaDataType* _tmp422_; ValaDataType* _tmp423_; gboolean _tmp424_; gboolean _tmp425_; ValaLocalVariable* _tmp426_ = NULL; ValaLocalVariable* temp_var; ValaLocalVariable* _tmp427_; const gchar* _tmp428_; const gchar* _tmp429_; ValaCCodeExpression* _tmp430_ = NULL; ValaCCodeExpression* temp_ref; ValaLocalVariable* _tmp431_; ValaCCodeFunction* _tmp432_; ValaCCodeFunction* _tmp433_; ValaCCodeExpression* _tmp434_; ValaCCodeFunctionCall* _tmp435_; ValaMethodCall* _tmp436_; ValaCCodeExpression* _tmp437_; self = (ValaGDBusClientModule*) base; g_return_if_fail (expr != NULL); _tmp0_ = expr; _tmp1_ = vala_method_call_get_call (_tmp0_); _tmp2_ = _tmp1_; _tmp3_ = vala_expression_get_value_type (_tmp2_); _tmp4_ = _tmp3_; _tmp5_ = _vala_code_node_ref0 (VALA_IS_METHOD_TYPE (_tmp4_) ? ((ValaMethodType*) _tmp4_) : NULL); mtype = _tmp5_; _tmp7_ = mtype; if (_tmp7_ != NULL) { ValaMethodType* _tmp8_; ValaMethod* _tmp9_; ValaMethod* _tmp10_; gchar* _tmp11_ = NULL; gchar* _tmp12_; _tmp8_ = mtype; _tmp9_ = vala_method_type_get_method_symbol (_tmp8_); _tmp10_ = _tmp9_; _tmp11_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp10_); _tmp12_ = _tmp11_; _tmp6_ = g_strcmp0 (_tmp12_, "g_bus_get_proxy") == 0; _g_free0 (_tmp12_); } else { _tmp6_ = FALSE; } _tmp13_ = _tmp6_; bus_get_proxy_async = _tmp13_; _tmp15_ = mtype; if (_tmp15_ != NULL) { ValaMethodType* _tmp16_; ValaMethod* _tmp17_; ValaMethod* _tmp18_; gchar* _tmp19_ = NULL; gchar* _tmp20_; _tmp16_ = mtype; _tmp17_ = vala_method_type_get_method_symbol (_tmp16_); _tmp18_ = _tmp17_; _tmp19_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp18_); _tmp20_ = _tmp19_; _tmp14_ = g_strcmp0 (_tmp20_, "g_bus_get_proxy_sync") == 0; _g_free0 (_tmp20_); } else { _tmp14_ = FALSE; } _tmp21_ = _tmp14_; bus_get_proxy_sync = _tmp21_; _tmp23_ = mtype; if (_tmp23_ != NULL) { ValaMethodType* _tmp24_; ValaMethod* _tmp25_; ValaMethod* _tmp26_; gchar* _tmp27_ = NULL; gchar* _tmp28_; _tmp24_ = mtype; _tmp25_ = vala_method_type_get_method_symbol (_tmp24_); _tmp26_ = _tmp25_; _tmp27_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp26_); _tmp28_ = _tmp27_; _tmp22_ = g_strcmp0 (_tmp28_, "g_dbus_connection_get_proxy") == 0; _g_free0 (_tmp28_); } else { _tmp22_ = FALSE; } _tmp29_ = _tmp22_; conn_get_proxy_async = _tmp29_; _tmp31_ = mtype; if (_tmp31_ != NULL) { ValaMethodType* _tmp32_; ValaMethod* _tmp33_; ValaMethod* _tmp34_; gchar* _tmp35_ = NULL; gchar* _tmp36_; _tmp32_ = mtype; _tmp33_ = vala_method_type_get_method_symbol (_tmp32_); _tmp34_ = _tmp33_; _tmp35_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp34_); _tmp36_ = _tmp35_; _tmp30_ = g_strcmp0 (_tmp36_, "g_dbus_connection_get_proxy_sync") == 0; _g_free0 (_tmp36_); } else { _tmp30_ = FALSE; } _tmp37_ = _tmp30_; conn_get_proxy_sync = _tmp37_; _tmp41_ = bus_get_proxy_async; if (!_tmp41_) { gboolean _tmp42_; _tmp42_ = bus_get_proxy_sync; _tmp40_ = !_tmp42_; } else { _tmp40_ = FALSE; } _tmp43_ = _tmp40_; if (_tmp43_) { gboolean _tmp44_; _tmp44_ = conn_get_proxy_async; _tmp39_ = !_tmp44_; } else { _tmp39_ = FALSE; } _tmp45_ = _tmp39_; if (_tmp45_) { gboolean _tmp46_; _tmp46_ = conn_get_proxy_sync; _tmp38_ = !_tmp46_; } else { _tmp38_ = FALSE; } _tmp47_ = _tmp38_; if (_tmp47_) { ValaMethodCall* _tmp48_; _tmp48_ = expr; VALA_CODE_VISITOR_CLASS (vala_gd_bus_client_module_parent_class)->visit_method_call ((ValaCodeVisitor*) VALA_GD_BUS_MODULE (self), _tmp48_); _vala_code_node_unref0 (mtype); return; } _tmp49_ = expr; _tmp50_ = vala_method_call_get_call (_tmp49_); _tmp51_ = _tmp50_; _tmp52_ = _vala_code_node_ref0 (VALA_MEMBER_ACCESS (_tmp51_)); ma = _tmp52_; _tmp53_ = ma; _tmp54_ = vala_member_access_get_type_arguments (_tmp53_); _tmp55_ = _tmp54_; _tmp56_ = vala_list_get (_tmp55_, 0); _tmp57_ = (ValaDataType*) _tmp56_; _vala_iterable_unref0 (_tmp55_); type_arg = _tmp57_; _tmp58_ = type_arg; _tmp59_ = _vala_code_node_ref0 (VALA_IS_OBJECT_TYPE (_tmp58_) ? ((ValaObjectType*) _tmp58_) : NULL); object_type = _tmp59_; _tmp60_ = object_type; if (_tmp60_ != NULL) { ValaObjectType* _tmp61_; ValaObjectTypeSymbol* _tmp62_; ValaObjectTypeSymbol* _tmp63_; ValaInterface* _tmp64_; ValaInterface* iface; ValaInterface* _tmp65_; gchar* _tmp66_ = NULL; gchar* _tmp67_; gboolean _tmp68_; ValaInterface* _tmp77_; gchar* _tmp78_ = NULL; gchar* _tmp79_; gchar* _tmp80_ = NULL; gchar* _tmp81_; ValaCCodeIdentifier* _tmp82_; ValaInterface* _tmp83_; gchar* _tmp84_ = NULL; gchar* _tmp85_; gchar* _tmp86_ = NULL; gchar* _tmp87_; ValaCCodeConstant* _tmp88_; _tmp61_ = object_type; _tmp62_ = vala_object_type_get_type_symbol (_tmp61_); _tmp63_ = _tmp62_; _tmp64_ = _vala_code_node_ref0 (VALA_INTERFACE (_tmp63_)); iface = _tmp64_; _tmp65_ = iface; _tmp66_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp65_); _tmp67_ = _tmp66_; _tmp68_ = _tmp67_ == NULL; _g_free0 (_tmp67_); if (_tmp68_) { ValaMethodCall* _tmp69_; ValaSourceReference* _tmp70_; ValaSourceReference* _tmp71_; ValaInterface* _tmp72_; gchar* _tmp73_ = NULL; gchar* _tmp74_; gchar* _tmp75_ = NULL; gchar* _tmp76_; _tmp69_ = expr; _tmp70_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp69_); _tmp71_ = _tmp70_; _tmp72_ = iface; _tmp73_ = vala_symbol_get_full_name ((ValaSymbol*) _tmp72_); _tmp74_ = _tmp73_; _tmp75_ = g_strdup_printf ("`%s' is not a D-Bus interface", _tmp74_); _tmp76_ = _tmp75_; vala_report_error (_tmp71_, _tmp76_); _g_free0 (_tmp76_); _g_free0 (_tmp74_); _vala_code_node_unref0 (iface); _vala_code_node_unref0 (object_type); _vala_ccode_node_unref0 (dbus_iface_name); _vala_ccode_node_unref0 (proxy_type); _vala_code_node_unref0 (type_arg); _vala_code_node_unref0 (ma); _vala_code_node_unref0 (mtype); return; } _tmp77_ = iface; _tmp78_ = vala_ccode_base_module_get_ccode_type_id ((ValaCodeNode*) _tmp77_); _tmp79_ = _tmp78_; _tmp80_ = g_strdup_printf ("%s_PROXY", _tmp79_); _tmp81_ = _tmp80_; _tmp82_ = vala_ccode_identifier_new (_tmp81_); _vala_ccode_node_unref0 (proxy_type); proxy_type = (ValaCCodeExpression*) _tmp82_; _g_free0 (_tmp81_); _g_free0 (_tmp79_); _tmp83_ = iface; _tmp84_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp83_); _tmp85_ = _tmp84_; _tmp86_ = g_strdup_printf ("\"%s\"", _tmp85_); _tmp87_ = _tmp86_; _tmp88_ = vala_ccode_constant_new (_tmp87_); _vala_ccode_node_unref0 (dbus_iface_name); dbus_iface_name = (ValaCCodeExpression*) _tmp88_; _g_free0 (_tmp87_); _g_free0 (_tmp85_); _vala_code_node_unref0 (iface); } else { ValaCCodeIdentifier* _tmp89_; ValaCCodeIdentifier* _tmp90_; ValaCCodeFunctionCall* _tmp91_; ValaCCodeFunctionCall* _tmp92_; ValaCCodeFunctionCall* quark; ValaCCodeFunctionCall* _tmp93_; ValaCCodeConstant* _tmp94_; ValaCCodeConstant* _tmp95_; ValaCCodeIdentifier* _tmp96_; ValaCCodeIdentifier* _tmp97_; ValaCCodeFunctionCall* _tmp98_; ValaCCodeFunctionCall* _tmp99_; ValaCCodeFunctionCall* get_qdata; ValaCCodeFunctionCall* _tmp100_; ValaDataType* _tmp101_; ValaCCodeExpression* _tmp102_ = NULL; ValaCCodeExpression* _tmp103_; ValaCCodeFunctionCall* _tmp104_; ValaCCodeFunctionCall* _tmp105_; ValaCCodeFunctionCall* _tmp106_; ValaCCodeCastExpression* _tmp107_; ValaCCodeCastExpression* _tmp108_; ValaCCodeFunctionCall* _tmp109_; ValaCCodeIdentifier* _tmp110_; ValaCCodeIdentifier* _tmp111_; ValaCCodeFunctionCall* _tmp112_; ValaCCodeFunctionCall* _tmp113_; ValaCCodeConstant* _tmp114_; ValaCCodeConstant* _tmp115_; ValaCCodeIdentifier* _tmp116_; ValaCCodeIdentifier* _tmp117_; ValaCCodeFunctionCall* _tmp118_; ValaCCodeFunctionCall* _tmp119_; ValaDataType* _tmp120_; ValaCCodeExpression* _tmp121_ = NULL; ValaCCodeExpression* _tmp122_; ValaCCodeFunctionCall* _tmp123_; ValaCCodeFunctionCall* _tmp124_; ValaCCodeFunctionCall* _tmp125_; ValaCCodeExpression* _tmp126_; _tmp89_ = vala_ccode_identifier_new ("g_quark_from_static_string"); _tmp90_ = _tmp89_; _tmp91_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp90_); _tmp92_ = _tmp91_; _vala_ccode_node_unref0 (_tmp90_); quark = _tmp92_; _tmp93_ = quark; _tmp94_ = vala_ccode_constant_new ("\"vala-dbus-proxy-type\""); _tmp95_ = _tmp94_; vala_ccode_function_call_add_argument (_tmp93_, (ValaCCodeExpression*) _tmp95_); _vala_ccode_node_unref0 (_tmp95_); _tmp96_ = vala_ccode_identifier_new ("g_type_get_qdata"); _tmp97_ = _tmp96_; _tmp98_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp97_); _tmp99_ = _tmp98_; _vala_ccode_node_unref0 (_tmp97_); get_qdata = _tmp99_; _tmp100_ = get_qdata; _tmp101_ = type_arg; _tmp102_ = vala_ccode_base_module_get_type_id_expression ((ValaCCodeBaseModule*) self, _tmp101_, FALSE); _tmp103_ = _tmp102_; vala_ccode_function_call_add_argument (_tmp100_, _tmp103_); _vala_ccode_node_unref0 (_tmp103_); _tmp104_ = get_qdata; _tmp105_ = quark; vala_ccode_function_call_add_argument (_tmp104_, (ValaCCodeExpression*) _tmp105_); _tmp106_ = get_qdata; _tmp107_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp106_, "GType (*) (void)"); _tmp108_ = _tmp107_; _tmp109_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp108_); _vala_ccode_node_unref0 (proxy_type); proxy_type = (ValaCCodeExpression*) _tmp109_; _vala_ccode_node_unref0 (_tmp108_); _tmp110_ = vala_ccode_identifier_new ("g_quark_from_static_string"); _tmp111_ = _tmp110_; _tmp112_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp111_); _vala_ccode_node_unref0 (quark); quark = _tmp112_; _vala_ccode_node_unref0 (_tmp111_); _tmp113_ = quark; _tmp114_ = vala_ccode_constant_new ("\"vala-dbus-interface-name\""); _tmp115_ = _tmp114_; vala_ccode_function_call_add_argument (_tmp113_, (ValaCCodeExpression*) _tmp115_); _vala_ccode_node_unref0 (_tmp115_); _tmp116_ = vala_ccode_identifier_new ("g_type_get_qdata"); _tmp117_ = _tmp116_; _tmp118_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp117_); _vala_ccode_node_unref0 (get_qdata); get_qdata = _tmp118_; _vala_ccode_node_unref0 (_tmp117_); _tmp119_ = get_qdata; _tmp120_ = type_arg; _tmp121_ = vala_ccode_base_module_get_type_id_expression ((ValaCCodeBaseModule*) self, _tmp120_, FALSE); _tmp122_ = _tmp121_; vala_ccode_function_call_add_argument (_tmp119_, _tmp122_); _vala_ccode_node_unref0 (_tmp122_); _tmp123_ = get_qdata; _tmp124_ = quark; vala_ccode_function_call_add_argument (_tmp123_, (ValaCCodeExpression*) _tmp124_); _tmp125_ = get_qdata; _tmp126_ = _vala_ccode_node_ref0 ((ValaCCodeExpression*) _tmp125_); _vala_ccode_node_unref0 (dbus_iface_name); dbus_iface_name = _tmp126_; _vala_ccode_node_unref0 (get_qdata); _vala_ccode_node_unref0 (quark); } _tmp128_ = bus_get_proxy_async; if (_tmp128_) { _tmp127_ = TRUE; } else { gboolean _tmp129_; _tmp129_ = conn_get_proxy_async; _tmp127_ = _tmp129_; } _tmp130_ = _tmp127_; if (_tmp130_) { gboolean _tmp131_ = FALSE; ValaMemberAccess* _tmp132_; const gchar* _tmp133_; const gchar* _tmp134_; gboolean _tmp143_; _tmp132_ = ma; _tmp133_ = vala_member_access_get_member_name (_tmp132_); _tmp134_ = _tmp133_; if (g_strcmp0 (_tmp134_, "end") == 0) { ValaMemberAccess* _tmp135_; ValaExpression* _tmp136_; ValaExpression* _tmp137_; ValaSymbol* _tmp138_; ValaSymbol* _tmp139_; ValaMemberAccess* _tmp140_; ValaSymbol* _tmp141_; ValaSymbol* _tmp142_; _tmp135_ = ma; _tmp136_ = vala_member_access_get_inner (_tmp135_); _tmp137_ = _tmp136_; _tmp138_ = vala_expression_get_symbol_reference (_tmp137_); _tmp139_ = _tmp138_; _tmp140_ = ma; _tmp141_ = vala_expression_get_symbol_reference ((ValaExpression*) _tmp140_); _tmp142_ = _tmp141_; _tmp131_ = _tmp139_ == _tmp142_; } else { _tmp131_ = FALSE; } _tmp143_ = _tmp131_; if (_tmp143_) { ValaMethodCall* _tmp144_; ValaList* _tmp145_ = NULL; ValaList* args; ValaList* _tmp146_; gpointer _tmp147_ = NULL; ValaExpression* res; ValaMethodCall* _tmp148_; ValaDataType* _tmp149_; ValaDataType* _tmp150_; ValaMethodCall* _tmp151_; ValaDataType* _tmp152_; ValaDataType* _tmp153_; gboolean _tmp154_; gboolean _tmp155_; ValaLocalVariable* _tmp156_ = NULL; ValaLocalVariable* source_var; ValaLocalVariable* _tmp157_; const gchar* _tmp158_; const gchar* _tmp159_; ValaCCodeExpression* _tmp160_ = NULL; ValaCCodeExpression* source_ref; ValaLocalVariable* _tmp161_; ValaCCodeIdentifier* _tmp162_; ValaCCodeIdentifier* _tmp163_; ValaCCodeFunctionCall* _tmp164_; ValaCCodeFunctionCall* _tmp165_; ValaCCodeFunctionCall* source; ValaCCodeFunctionCall* _tmp166_; ValaExpression* _tmp167_; ValaCCodeExpression* _tmp168_ = NULL; ValaCCodeExpression* _tmp169_; ValaCCodeFunction* _tmp170_; ValaCCodeFunction* _tmp171_; ValaCCodeExpression* _tmp172_; ValaCCodeFunctionCall* _tmp173_; ValaCCodeIdentifier* _tmp174_; ValaCCodeIdentifier* _tmp175_; ValaCCodeFunctionCall* _tmp176_; ValaCCodeFunctionCall* _tmp177_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp178_; ValaCCodeExpression* _tmp179_; ValaCCodeFunctionCall* _tmp180_; ValaExpression* _tmp181_; ValaCCodeExpression* _tmp182_ = NULL; ValaCCodeExpression* _tmp183_; ValaCCodeFunctionCall* _tmp184_; ValaCCodeExpression* _tmp185_ = NULL; ValaCCodeExpression* _tmp186_; ValaCCodeUnaryExpression* _tmp187_; ValaCCodeUnaryExpression* _tmp188_; ValaMethodCall* _tmp189_; ValaDataType* _tmp190_; ValaDataType* _tmp191_; ValaMethodCall* _tmp192_; ValaDataType* _tmp193_; ValaDataType* _tmp194_; gboolean _tmp195_; gboolean _tmp196_; ValaLocalVariable* _tmp197_ = NULL; ValaLocalVariable* temp_var; ValaLocalVariable* _tmp198_; const gchar* _tmp199_; const gchar* _tmp200_; ValaCCodeExpression* _tmp201_ = NULL; ValaCCodeExpression* temp_ref; ValaLocalVariable* _tmp202_; ValaCCodeFunction* _tmp203_; ValaCCodeFunction* _tmp204_; ValaCCodeExpression* _tmp205_; ValaCCodeFunctionCall* _tmp206_; ValaCCodeIdentifier* _tmp207_; ValaCCodeIdentifier* _tmp208_; ValaCCodeFunctionCall* _tmp209_; ValaCCodeFunctionCall* _tmp210_; ValaCCodeFunctionCall* unref_proxy; ValaCCodeFunctionCall* _tmp211_; ValaCCodeExpression* _tmp212_; ValaCCodeFunction* _tmp213_; ValaCCodeFunction* _tmp214_; ValaCCodeFunctionCall* _tmp215_; ValaMethodCall* _tmp216_; ValaCCodeExpression* _tmp217_; vala_ccode_base_module_set_current_method_inner_error ((ValaCCodeBaseModule*) self, TRUE); _tmp144_ = expr; _tmp145_ = vala_method_call_get_argument_list (_tmp144_); args = _tmp145_; _tmp146_ = args; _tmp147_ = vala_list_get (_tmp146_, 0); res = (ValaExpression*) _tmp147_; _tmp148_ = expr; _tmp149_ = vala_expression_get_value_type ((ValaExpression*) _tmp148_); _tmp150_ = _tmp149_; _tmp151_ = expr; _tmp152_ = vala_expression_get_value_type ((ValaExpression*) _tmp151_); _tmp153_ = _tmp152_; _tmp154_ = vala_data_type_get_value_owned (_tmp153_); _tmp155_ = _tmp154_; _tmp156_ = vala_ccode_base_module_get_temp_variable ((ValaCCodeBaseModule*) self, _tmp150_, _tmp155_, NULL, TRUE); source_var = _tmp156_; _tmp157_ = source_var; _tmp158_ = vala_symbol_get_name ((ValaSymbol*) _tmp157_); _tmp159_ = _tmp158_; _tmp160_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, _tmp159_); source_ref = _tmp160_; _tmp161_ = source_var; vala_ccode_base_module_emit_temp_var ((ValaCCodeBaseModule*) self, _tmp161_); _tmp162_ = vala_ccode_identifier_new ("g_async_result_get_source_object"); _tmp163_ = _tmp162_; _tmp164_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp163_); _tmp165_ = _tmp164_; _vala_ccode_node_unref0 (_tmp163_); source = _tmp165_; _tmp166_ = source; _tmp167_ = res; _tmp168_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp167_); _tmp169_ = _tmp168_; vala_ccode_function_call_add_argument (_tmp166_, _tmp169_); _vala_ccode_node_unref0 (_tmp169_); _tmp170_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp171_ = _tmp170_; _tmp172_ = source_ref; _tmp173_ = source; vala_ccode_function_add_assignment (_tmp171_, _tmp172_, (ValaCCodeExpression*) _tmp173_); _tmp174_ = vala_ccode_identifier_new ("g_async_initable_new_finish"); _tmp175_ = _tmp174_; _tmp176_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp175_); _tmp177_ = _tmp176_; _vala_ccode_node_unref0 (_tmp175_); ccall = _tmp177_; _tmp178_ = ccall; _tmp179_ = source_ref; vala_ccode_function_call_add_argument (_tmp178_, _tmp179_); _tmp180_ = ccall; _tmp181_ = res; _tmp182_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp181_); _tmp183_ = _tmp182_; vala_ccode_function_call_add_argument (_tmp180_, _tmp183_); _vala_ccode_node_unref0 (_tmp183_); _tmp184_ = ccall; _tmp185_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_"); _tmp186_ = _tmp185_; _tmp187_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp186_); _tmp188_ = _tmp187_; vala_ccode_function_call_add_argument (_tmp184_, (ValaCCodeExpression*) _tmp188_); _vala_ccode_node_unref0 (_tmp188_); _vala_ccode_node_unref0 (_tmp186_); _tmp189_ = expr; _tmp190_ = vala_expression_get_value_type ((ValaExpression*) _tmp189_); _tmp191_ = _tmp190_; _tmp192_ = expr; _tmp193_ = vala_expression_get_value_type ((ValaExpression*) _tmp192_); _tmp194_ = _tmp193_; _tmp195_ = vala_data_type_get_value_owned (_tmp194_); _tmp196_ = _tmp195_; _tmp197_ = vala_ccode_base_module_get_temp_variable ((ValaCCodeBaseModule*) self, _tmp191_, _tmp196_, NULL, TRUE); temp_var = _tmp197_; _tmp198_ = temp_var; _tmp199_ = vala_symbol_get_name ((ValaSymbol*) _tmp198_); _tmp200_ = _tmp199_; _tmp201_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, _tmp200_); temp_ref = _tmp201_; _tmp202_ = temp_var; vala_ccode_base_module_emit_temp_var ((ValaCCodeBaseModule*) self, _tmp202_); _tmp203_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp204_ = _tmp203_; _tmp205_ = temp_ref; _tmp206_ = ccall; vala_ccode_function_add_assignment (_tmp204_, _tmp205_, (ValaCCodeExpression*) _tmp206_); _tmp207_ = vala_ccode_identifier_new ("g_object_unref"); _tmp208_ = _tmp207_; _tmp209_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp208_); _tmp210_ = _tmp209_; _vala_ccode_node_unref0 (_tmp208_); unref_proxy = _tmp210_; _tmp211_ = unref_proxy; _tmp212_ = source_ref; vala_ccode_function_call_add_argument (_tmp211_, _tmp212_); _tmp213_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp214_ = _tmp213_; _tmp215_ = unref_proxy; vala_ccode_function_add_expression (_tmp214_, (ValaCCodeExpression*) _tmp215_); _tmp216_ = expr; _tmp217_ = temp_ref; vala_ccode_base_module_set_cvalue ((ValaCCodeBaseModule*) self, (ValaExpression*) _tmp216_, _tmp217_); _vala_ccode_node_unref0 (unref_proxy); _vala_ccode_node_unref0 (temp_ref); _vala_code_node_unref0 (temp_var); _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (source); _vala_ccode_node_unref0 (source_ref); _vala_code_node_unref0 (source_var); _vala_code_node_unref0 (res); _vala_iterable_unref0 (args); _vala_code_node_unref0 (object_type); _vala_ccode_node_unref0 (dbus_iface_name); _vala_ccode_node_unref0 (proxy_type); _vala_code_node_unref0 (type_arg); _vala_code_node_unref0 (ma); _vala_code_node_unref0 (mtype); return; } } base_arg_index = 0; _tmp219_ = bus_get_proxy_async; if (_tmp219_) { _tmp218_ = TRUE; } else { gboolean _tmp220_; _tmp220_ = bus_get_proxy_sync; _tmp218_ = _tmp220_; } _tmp221_ = _tmp218_; if (_tmp221_) { base_arg_index = 1; } _tmp222_ = expr; _tmp223_ = vala_method_call_get_argument_list (_tmp222_); args = _tmp223_; _tmp224_ = args; _tmp225_ = base_arg_index; _tmp226_ = vala_list_get (_tmp224_, _tmp225_ + 0); name = (ValaExpression*) _tmp226_; _tmp227_ = args; _tmp228_ = base_arg_index; _tmp229_ = vala_list_get (_tmp227_, _tmp228_ + 1); object_path = (ValaExpression*) _tmp229_; _tmp230_ = args; _tmp231_ = base_arg_index; _tmp232_ = vala_list_get (_tmp230_, _tmp231_ + 2); flags = (ValaExpression*) _tmp232_; _tmp233_ = args; _tmp234_ = base_arg_index; _tmp235_ = vala_list_get (_tmp233_, _tmp234_ + 3); cancellable = (ValaExpression*) _tmp235_; vala_ccode_base_module_set_current_method_inner_error ((ValaCCodeBaseModule*) self, TRUE); _tmp237_ = bus_get_proxy_async; if (_tmp237_) { _tmp236_ = TRUE; } else { gboolean _tmp238_; _tmp238_ = conn_get_proxy_async; _tmp236_ = _tmp238_; } _tmp239_ = _tmp236_; if (_tmp239_) { ValaCCodeIdentifier* _tmp240_; ValaCCodeIdentifier* _tmp241_; ValaCCodeFunctionCall* _tmp242_; _tmp240_ = vala_ccode_identifier_new ("g_async_initable_new_async"); _tmp241_ = _tmp240_; _tmp242_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp241_); _vala_ccode_node_unref0 (ccall); ccall = _tmp242_; _vala_ccode_node_unref0 (_tmp241_); } else { ValaCCodeIdentifier* _tmp243_; ValaCCodeIdentifier* _tmp244_; ValaCCodeFunctionCall* _tmp245_; _tmp243_ = vala_ccode_identifier_new ("g_initable_new"); _tmp244_ = _tmp243_; _tmp245_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp244_); _vala_ccode_node_unref0 (ccall); ccall = _tmp245_; _vala_ccode_node_unref0 (_tmp244_); } _tmp246_ = ccall; _tmp247_ = proxy_type; vala_ccode_function_call_add_argument (_tmp246_, _tmp247_); _tmp249_ = bus_get_proxy_async; if (_tmp249_) { _tmp248_ = TRUE; } else { gboolean _tmp250_; _tmp250_ = conn_get_proxy_async; _tmp248_ = _tmp250_; } _tmp251_ = _tmp248_; if (_tmp251_) { ValaCCodeFunctionCall* _tmp252_; ValaCCodeConstant* _tmp253_; ValaCCodeConstant* _tmp254_; _tmp252_ = ccall; _tmp253_ = vala_ccode_constant_new ("0"); _tmp254_ = _tmp253_; vala_ccode_function_call_add_argument (_tmp252_, (ValaCCodeExpression*) _tmp254_); _vala_ccode_node_unref0 (_tmp254_); } _tmp255_ = ccall; _tmp256_ = cancellable; _tmp257_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp256_); _tmp258_ = _tmp257_; vala_ccode_function_call_add_argument (_tmp255_, _tmp258_); _vala_ccode_node_unref0 (_tmp258_); _tmp260_ = bus_get_proxy_async; if (_tmp260_) { _tmp259_ = TRUE; } else { gboolean _tmp261_; _tmp261_ = conn_get_proxy_async; _tmp259_ = _tmp261_; } _tmp262_ = _tmp259_; if (_tmp262_) { ValaMethodCall* _tmp263_; gboolean _tmp264_; gboolean _tmp265_; _tmp263_ = expr; _tmp264_ = vala_method_call_get_is_yield_expression (_tmp263_); _tmp265_ = _tmp264_; if (_tmp265_) { ValaCCodeFunctionCall* _tmp266_; ValaMethod* _tmp267_; ValaMethod* _tmp268_; gchar* _tmp269_ = NULL; gchar* _tmp270_; ValaCCodeIdentifier* _tmp271_; ValaCCodeIdentifier* _tmp272_; ValaCCodeFunctionCall* _tmp273_; ValaCCodeIdentifier* _tmp274_; ValaCCodeIdentifier* _tmp275_; _tmp266_ = ccall; _tmp267_ = vala_ccode_base_module_get_current_method ((ValaCCodeBaseModule*) self); _tmp268_ = _tmp267_; _tmp269_ = vala_ccode_base_module_generate_ready_function ((ValaCCodeBaseModule*) self, _tmp268_); _tmp270_ = _tmp269_; _tmp271_ = vala_ccode_identifier_new (_tmp270_); _tmp272_ = _tmp271_; vala_ccode_function_call_add_argument (_tmp266_, (ValaCCodeExpression*) _tmp272_); _vala_ccode_node_unref0 (_tmp272_); _g_free0 (_tmp270_); _tmp273_ = ccall; _tmp274_ = vala_ccode_identifier_new ("_data_"); _tmp275_ = _tmp274_; vala_ccode_function_call_add_argument (_tmp273_, (ValaCCodeExpression*) _tmp275_); _vala_ccode_node_unref0 (_tmp275_); } else { ValaList* _tmp276_; gint _tmp277_; gpointer _tmp278_ = NULL; ValaExpression* callback; ValaCCodeFunctionCall* _tmp279_; ValaExpression* _tmp280_; ValaCCodeExpression* _tmp281_ = NULL; ValaCCodeExpression* _tmp282_; ValaCCodeFunctionCall* _tmp283_; ValaExpression* _tmp284_; ValaCCodeExpression* _tmp285_ = NULL; ValaCCodeExpression* _tmp286_; _tmp276_ = args; _tmp277_ = base_arg_index; _tmp278_ = vala_list_get (_tmp276_, _tmp277_ + 4); callback = (ValaExpression*) _tmp278_; _tmp279_ = ccall; _tmp280_ = callback; _tmp281_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp280_); _tmp282_ = _tmp281_; vala_ccode_function_call_add_argument (_tmp279_, _tmp282_); _vala_ccode_node_unref0 (_tmp282_); _tmp283_ = ccall; _tmp284_ = callback; _tmp285_ = vala_ccode_base_module_get_delegate_target ((ValaCCodeBaseModule*) self, _tmp284_); _tmp286_ = _tmp285_; vala_ccode_function_call_add_argument (_tmp283_, _tmp286_); _vala_ccode_node_unref0 (_tmp286_); _vala_code_node_unref0 (callback); } } else { ValaCCodeFunctionCall* _tmp287_; ValaCCodeExpression* _tmp288_ = NULL; ValaCCodeExpression* _tmp289_; ValaCCodeUnaryExpression* _tmp290_; ValaCCodeUnaryExpression* _tmp291_; _tmp287_ = ccall; _tmp288_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_"); _tmp289_ = _tmp288_; _tmp290_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp289_); _tmp291_ = _tmp290_; vala_ccode_function_call_add_argument (_tmp287_, (ValaCCodeExpression*) _tmp291_); _vala_ccode_node_unref0 (_tmp291_); _vala_ccode_node_unref0 (_tmp289_); } _tmp292_ = ccall; _tmp293_ = vala_ccode_constant_new ("\"g-flags\""); _tmp294_ = _tmp293_; vala_ccode_function_call_add_argument (_tmp292_, (ValaCCodeExpression*) _tmp294_); _vala_ccode_node_unref0 (_tmp294_); _tmp295_ = ccall; _tmp296_ = flags; _tmp297_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp296_); _tmp298_ = _tmp297_; vala_ccode_function_call_add_argument (_tmp295_, _tmp298_); _vala_ccode_node_unref0 (_tmp298_); _tmp299_ = ccall; _tmp300_ = vala_ccode_constant_new ("\"g-name\""); _tmp301_ = _tmp300_; vala_ccode_function_call_add_argument (_tmp299_, (ValaCCodeExpression*) _tmp301_); _vala_ccode_node_unref0 (_tmp301_); _tmp302_ = ccall; _tmp303_ = name; _tmp304_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp303_); _tmp305_ = _tmp304_; vala_ccode_function_call_add_argument (_tmp302_, _tmp305_); _vala_ccode_node_unref0 (_tmp305_); _tmp307_ = bus_get_proxy_async; if (_tmp307_) { _tmp306_ = TRUE; } else { gboolean _tmp308_; _tmp308_ = bus_get_proxy_sync; _tmp306_ = _tmp308_; } _tmp309_ = _tmp306_; if (_tmp309_) { ValaList* _tmp310_; gpointer _tmp311_ = NULL; ValaExpression* bus_type; ValaCCodeFunctionCall* _tmp312_; ValaCCodeConstant* _tmp313_; ValaCCodeConstant* _tmp314_; ValaCCodeFunctionCall* _tmp315_; ValaExpression* _tmp316_; ValaCCodeExpression* _tmp317_ = NULL; ValaCCodeExpression* _tmp318_; _tmp310_ = args; _tmp311_ = vala_list_get (_tmp310_, 0); bus_type = (ValaExpression*) _tmp311_; _tmp312_ = ccall; _tmp313_ = vala_ccode_constant_new ("\"g-bus-type\""); _tmp314_ = _tmp313_; vala_ccode_function_call_add_argument (_tmp312_, (ValaCCodeExpression*) _tmp314_); _vala_ccode_node_unref0 (_tmp314_); _tmp315_ = ccall; _tmp316_ = bus_type; _tmp317_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp316_); _tmp318_ = _tmp317_; vala_ccode_function_call_add_argument (_tmp315_, _tmp318_); _vala_ccode_node_unref0 (_tmp318_); _vala_code_node_unref0 (bus_type); } else { ValaMemberAccess* _tmp319_; ValaExpression* _tmp320_; ValaExpression* _tmp321_; ValaExpression* _tmp322_; ValaExpression* connection; gboolean _tmp323_ = FALSE; ValaMemberAccess* _tmp324_; const gchar* _tmp325_; const gchar* _tmp326_; gboolean _tmp335_; ValaCCodeFunctionCall* _tmp344_; ValaCCodeConstant* _tmp345_; ValaCCodeConstant* _tmp346_; ValaCCodeFunctionCall* _tmp347_; ValaExpression* _tmp348_; ValaCCodeExpression* _tmp349_ = NULL; ValaCCodeExpression* _tmp350_; _tmp319_ = ma; _tmp320_ = vala_member_access_get_inner (_tmp319_); _tmp321_ = _tmp320_; _tmp322_ = _vala_code_node_ref0 (_tmp321_); connection = _tmp322_; _tmp324_ = ma; _tmp325_ = vala_member_access_get_member_name (_tmp324_); _tmp326_ = _tmp325_; if (g_strcmp0 (_tmp326_, "begin") == 0) { ValaMemberAccess* _tmp327_; ValaExpression* _tmp328_; ValaExpression* _tmp329_; ValaSymbol* _tmp330_; ValaSymbol* _tmp331_; ValaMemberAccess* _tmp332_; ValaSymbol* _tmp333_; ValaSymbol* _tmp334_; _tmp327_ = ma; _tmp328_ = vala_member_access_get_inner (_tmp327_); _tmp329_ = _tmp328_; _tmp330_ = vala_expression_get_symbol_reference (_tmp329_); _tmp331_ = _tmp330_; _tmp332_ = ma; _tmp333_ = vala_expression_get_symbol_reference ((ValaExpression*) _tmp332_); _tmp334_ = _tmp333_; _tmp323_ = _tmp331_ == _tmp334_; } else { _tmp323_ = FALSE; } _tmp335_ = _tmp323_; if (_tmp335_) { ValaMemberAccess* _tmp336_; ValaExpression* _tmp337_; ValaExpression* _tmp338_; ValaMemberAccess* _tmp339_; ValaMemberAccess* inner_ma; ValaMemberAccess* _tmp340_; ValaExpression* _tmp341_; ValaExpression* _tmp342_; ValaExpression* _tmp343_; _tmp336_ = ma; _tmp337_ = vala_member_access_get_inner (_tmp336_); _tmp338_ = _tmp337_; _tmp339_ = _vala_code_node_ref0 (VALA_MEMBER_ACCESS (_tmp338_)); inner_ma = _tmp339_; _tmp340_ = inner_ma; _tmp341_ = vala_member_access_get_inner (_tmp340_); _tmp342_ = _tmp341_; _tmp343_ = _vala_code_node_ref0 (_tmp342_); _vala_code_node_unref0 (connection); connection = _tmp343_; _vala_code_node_unref0 (inner_ma); } _tmp344_ = ccall; _tmp345_ = vala_ccode_constant_new ("\"g-connection\""); _tmp346_ = _tmp345_; vala_ccode_function_call_add_argument (_tmp344_, (ValaCCodeExpression*) _tmp346_); _vala_ccode_node_unref0 (_tmp346_); _tmp347_ = ccall; _tmp348_ = connection; _tmp349_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp348_); _tmp350_ = _tmp349_; vala_ccode_function_call_add_argument (_tmp347_, _tmp350_); _vala_ccode_node_unref0 (_tmp350_); _vala_code_node_unref0 (connection); } _tmp351_ = ccall; _tmp352_ = vala_ccode_constant_new ("\"g-object-path\""); _tmp353_ = _tmp352_; vala_ccode_function_call_add_argument (_tmp351_, (ValaCCodeExpression*) _tmp353_); _vala_ccode_node_unref0 (_tmp353_); _tmp354_ = ccall; _tmp355_ = object_path; _tmp356_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, _tmp355_); _tmp357_ = _tmp356_; vala_ccode_function_call_add_argument (_tmp354_, _tmp357_); _vala_ccode_node_unref0 (_tmp357_); _tmp358_ = ccall; _tmp359_ = vala_ccode_constant_new ("\"g-interface-name\""); _tmp360_ = _tmp359_; vala_ccode_function_call_add_argument (_tmp358_, (ValaCCodeExpression*) _tmp360_); _vala_ccode_node_unref0 (_tmp360_); _tmp361_ = ccall; _tmp362_ = dbus_iface_name; vala_ccode_function_call_add_argument (_tmp361_, _tmp362_); _tmp363_ = ccall; _tmp364_ = vala_ccode_constant_new ("NULL"); _tmp365_ = _tmp364_; vala_ccode_function_call_add_argument (_tmp363_, (ValaCCodeExpression*) _tmp365_); _vala_ccode_node_unref0 (_tmp365_); _tmp367_ = bus_get_proxy_async; if (_tmp367_) { _tmp366_ = TRUE; } else { gboolean _tmp368_; _tmp368_ = conn_get_proxy_async; _tmp366_ = _tmp368_; } _tmp369_ = _tmp366_; if (_tmp369_) { ValaMethodCall* _tmp370_; gboolean _tmp371_; gboolean _tmp372_; _tmp370_ = expr; _tmp371_ = vala_method_call_get_is_yield_expression (_tmp370_); _tmp372_ = _tmp371_; if (_tmp372_) { gint _tmp373_; gint state; ValaCCodeFunction* _tmp374_; ValaCCodeFunction* _tmp375_; ValaCCodeIdentifier* _tmp376_; ValaCCodeIdentifier* _tmp377_; ValaCCodeMemberAccess* _tmp378_; ValaCCodeMemberAccess* _tmp379_; gint _tmp380_; gchar* _tmp381_ = NULL; gchar* _tmp382_; ValaCCodeConstant* _tmp383_; ValaCCodeConstant* _tmp384_; ValaCCodeFunction* _tmp385_; ValaCCodeFunction* _tmp386_; ValaCCodeFunctionCall* _tmp387_; ValaCCodeFunction* _tmp388_; ValaCCodeFunction* _tmp389_; ValaCCodeConstant* _tmp390_; ValaCCodeConstant* _tmp391_; ValaCCodeFunction* _tmp392_; ValaCCodeFunction* _tmp393_; gint _tmp394_; gchar* _tmp395_ = NULL; gchar* _tmp396_; ValaCCodeIdentifier* _tmp397_; ValaCCodeIdentifier* _tmp398_; ValaCCodeFunctionCall* _tmp399_; ValaCCodeFunctionCall* _tmp400_; ValaCCodeIdentifier* _tmp401_; ValaCCodeIdentifier* _tmp402_; ValaCCodeMemberAccess* _tmp403_; ValaCCodeMemberAccess* _tmp404_; ValaCCodeFunctionCall* _tmp405_; ValaCCodeIdentifier* _tmp406_; ValaCCodeIdentifier* _tmp407_; ValaCCodeMemberAccess* _tmp408_; ValaCCodeMemberAccess* _tmp409_; ValaCCodeFunctionCall* _tmp410_; ValaCCodeExpression* _tmp411_ = NULL; ValaCCodeExpression* _tmp412_; ValaCCodeUnaryExpression* _tmp413_; ValaCCodeUnaryExpression* _tmp414_; _tmp373_ = ((ValaCCodeBaseModule*) self)->next_coroutine_state; ((ValaCCodeBaseModule*) self)->next_coroutine_state = _tmp373_ + 1; state = _tmp373_; _tmp374_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp375_ = _tmp374_; _tmp376_ = vala_ccode_identifier_new ("_data_"); _tmp377_ = _tmp376_; _tmp378_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp377_, "_state_"); _tmp379_ = _tmp378_; _tmp380_ = state; _tmp381_ = g_strdup_printf ("%i", _tmp380_); _tmp382_ = _tmp381_; _tmp383_ = vala_ccode_constant_new (_tmp382_); _tmp384_ = _tmp383_; vala_ccode_function_add_assignment (_tmp375_, (ValaCCodeExpression*) _tmp379_, (ValaCCodeExpression*) _tmp384_); _vala_ccode_node_unref0 (_tmp384_); _g_free0 (_tmp382_); _vala_ccode_node_unref0 (_tmp379_); _vala_ccode_node_unref0 (_tmp377_); _tmp385_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp386_ = _tmp385_; _tmp387_ = ccall; vala_ccode_function_add_expression (_tmp386_, (ValaCCodeExpression*) _tmp387_); _tmp388_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp389_ = _tmp388_; _tmp390_ = vala_ccode_constant_new ("FALSE"); _tmp391_ = _tmp390_; vala_ccode_function_add_return (_tmp389_, (ValaCCodeExpression*) _tmp391_); _vala_ccode_node_unref0 (_tmp391_); _tmp392_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp393_ = _tmp392_; _tmp394_ = state; _tmp395_ = g_strdup_printf ("_state_%d", _tmp394_); _tmp396_ = _tmp395_; vala_ccode_function_add_label (_tmp393_, _tmp396_); _g_free0 (_tmp396_); _tmp397_ = vala_ccode_identifier_new ("g_async_initable_new_finish"); _tmp398_ = _tmp397_; _tmp399_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp398_); _vala_ccode_node_unref0 (ccall); ccall = _tmp399_; _vala_ccode_node_unref0 (_tmp398_); _tmp400_ = ccall; _tmp401_ = vala_ccode_identifier_new ("_data_"); _tmp402_ = _tmp401_; _tmp403_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp402_, "_source_object_"); _tmp404_ = _tmp403_; vala_ccode_function_call_add_argument (_tmp400_, (ValaCCodeExpression*) _tmp404_); _vala_ccode_node_unref0 (_tmp404_); _vala_ccode_node_unref0 (_tmp402_); _tmp405_ = ccall; _tmp406_ = vala_ccode_identifier_new ("_data_"); _tmp407_ = _tmp406_; _tmp408_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp407_, "_res_"); _tmp409_ = _tmp408_; vala_ccode_function_call_add_argument (_tmp405_, (ValaCCodeExpression*) _tmp409_); _vala_ccode_node_unref0 (_tmp409_); _vala_ccode_node_unref0 (_tmp407_); _tmp410_ = ccall; _tmp411_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, "_inner_error_"); _tmp412_ = _tmp411_; _tmp413_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, _tmp412_); _tmp414_ = _tmp413_; vala_ccode_function_call_add_argument (_tmp410_, (ValaCCodeExpression*) _tmp414_); _vala_ccode_node_unref0 (_tmp414_); _vala_ccode_node_unref0 (_tmp412_); } else { ValaCCodeFunction* _tmp415_; ValaCCodeFunction* _tmp416_; ValaCCodeFunctionCall* _tmp417_; _tmp415_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp416_ = _tmp415_; _tmp417_ = ccall; vala_ccode_function_add_expression (_tmp416_, (ValaCCodeExpression*) _tmp417_); _vala_ccode_node_unref0 (ccall); _vala_code_node_unref0 (cancellable); _vala_code_node_unref0 (flags); _vala_code_node_unref0 (object_path); _vala_code_node_unref0 (name); _vala_iterable_unref0 (args); _vala_code_node_unref0 (object_type); _vala_ccode_node_unref0 (dbus_iface_name); _vala_ccode_node_unref0 (proxy_type); _vala_code_node_unref0 (type_arg); _vala_code_node_unref0 (ma); _vala_code_node_unref0 (mtype); return; } } _tmp418_ = expr; _tmp419_ = vala_expression_get_value_type ((ValaExpression*) _tmp418_); _tmp420_ = _tmp419_; _tmp421_ = expr; _tmp422_ = vala_expression_get_value_type ((ValaExpression*) _tmp421_); _tmp423_ = _tmp422_; _tmp424_ = vala_data_type_get_value_owned (_tmp423_); _tmp425_ = _tmp424_; _tmp426_ = vala_ccode_base_module_get_temp_variable ((ValaCCodeBaseModule*) self, _tmp420_, _tmp425_, NULL, TRUE); temp_var = _tmp426_; _tmp427_ = temp_var; _tmp428_ = vala_symbol_get_name ((ValaSymbol*) _tmp427_); _tmp429_ = _tmp428_; _tmp430_ = vala_ccode_base_module_get_variable_cexpression ((ValaCCodeBaseModule*) self, _tmp429_); temp_ref = _tmp430_; _tmp431_ = temp_var; vala_ccode_base_module_emit_temp_var ((ValaCCodeBaseModule*) self, _tmp431_); _tmp432_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp433_ = _tmp432_; _tmp434_ = temp_ref; _tmp435_ = ccall; vala_ccode_function_add_assignment (_tmp433_, _tmp434_, (ValaCCodeExpression*) _tmp435_); _tmp436_ = expr; _tmp437_ = temp_ref; vala_ccode_base_module_set_cvalue ((ValaCCodeBaseModule*) self, (ValaExpression*) _tmp436_, _tmp437_); _vala_ccode_node_unref0 (temp_ref); _vala_code_node_unref0 (temp_var); _vala_ccode_node_unref0 (ccall); _vala_code_node_unref0 (cancellable); _vala_code_node_unref0 (flags); _vala_code_node_unref0 (object_path); _vala_code_node_unref0 (name); _vala_iterable_unref0 (args); _vala_code_node_unref0 (object_type); _vala_ccode_node_unref0 (dbus_iface_name); _vala_ccode_node_unref0 (proxy_type); _vala_code_node_unref0 (type_arg); _vala_code_node_unref0 (ma); _vala_code_node_unref0 (mtype); } static gchar* vala_gd_bus_client_module_generate_dbus_signal_handler (ValaGDBusClientModule* self, ValaSignal* sig, ValaObjectTypeSymbol* sym) { gchar* result = NULL; ValaObjectTypeSymbol* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; ValaSignal* _tmp3_; gchar* _tmp4_ = NULL; gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* wrapper_name; const gchar* _tmp8_; ValaCCodeFunction* _tmp9_; ValaCCodeFunction* function; ValaCCodeFunction* _tmp10_; ValaCCodeFunction* _tmp11_; ValaObjectTypeSymbol* _tmp12_; gchar* _tmp13_ = NULL; gchar* _tmp14_; gchar* _tmp15_; gchar* _tmp16_; ValaCCodeParameter* _tmp17_; ValaCCodeParameter* _tmp18_; ValaCCodeFunction* _tmp19_; ValaCCodeParameter* _tmp20_; ValaCCodeParameter* _tmp21_; ValaCCodeFunction* _tmp22_; ValaCCodeFunction* _tmp23_; ValaCCodeFunction* _tmp24_; ValaCCodeVariableDeclarator* _tmp25_; ValaCCodeVariableDeclarator* _tmp26_; ValaCCodeIdentifier* _tmp27_; ValaCCodeIdentifier* _tmp28_; ValaCCodeFunctionCall* _tmp29_; ValaCCodeFunctionCall* _tmp30_; ValaCCodeFunctionCall* iter_init; ValaCCodeFunctionCall* _tmp31_; ValaCCodeIdentifier* _tmp32_; ValaCCodeIdentifier* _tmp33_; ValaCCodeUnaryExpression* _tmp34_; ValaCCodeUnaryExpression* _tmp35_; ValaCCodeFunctionCall* _tmp36_; ValaCCodeIdentifier* _tmp37_; ValaCCodeIdentifier* _tmp38_; ValaCCodeFunction* _tmp39_; ValaCCodeFunction* _tmp40_; ValaCCodeFunctionCall* _tmp41_; ValaCCodeIdentifier* _tmp42_; ValaCCodeIdentifier* _tmp43_; ValaCCodeFunctionCall* _tmp44_; ValaCCodeFunctionCall* _tmp45_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp46_; ValaCCodeIdentifier* _tmp47_; ValaCCodeIdentifier* _tmp48_; ValaCCodeFunctionCall* _tmp49_; ValaSignal* _tmp50_; ValaCCodeConstant* _tmp51_ = NULL; ValaCCodeConstant* _tmp52_; ValaCCodeFunction* _tmp144_; ValaCCodeFunction* _tmp145_; ValaCCodeFunctionCall* _tmp146_; ValaCCodeFile* _tmp175_; ValaCCodeFunction* _tmp176_; ValaCCodeFile* _tmp177_; ValaCCodeFunction* _tmp178_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (sig != NULL, NULL); g_return_val_if_fail (sym != NULL, NULL); _tmp0_ = sym; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp0_, NULL); _tmp2_ = _tmp1_; _tmp3_ = sig; _tmp4_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp3_); _tmp5_ = _tmp4_; _tmp6_ = g_strdup_printf ("_dbus_handle_%s_%s", _tmp2_, _tmp5_); _tmp7_ = _tmp6_; _g_free0 (_tmp5_); _g_free0 (_tmp2_); wrapper_name = _tmp7_; _tmp8_ = wrapper_name; _tmp9_ = vala_ccode_function_new (_tmp8_, "void"); function = _tmp9_; _tmp10_ = function; vala_ccode_function_set_modifiers (_tmp10_, VALA_CCODE_MODIFIERS_STATIC); _tmp11_ = function; _tmp12_ = sym; _tmp13_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp12_); _tmp14_ = _tmp13_; _tmp15_ = g_strconcat (_tmp14_, "*", NULL); _tmp16_ = _tmp15_; _tmp17_ = vala_ccode_parameter_new ("self", _tmp16_); _tmp18_ = _tmp17_; vala_ccode_function_add_parameter (_tmp11_, _tmp18_); _vala_ccode_node_unref0 (_tmp18_); _g_free0 (_tmp16_); _g_free0 (_tmp14_); _tmp19_ = function; _tmp20_ = vala_ccode_parameter_new ("parameters", "GVariant*"); _tmp21_ = _tmp20_; vala_ccode_function_add_parameter (_tmp19_, _tmp21_); _vala_ccode_node_unref0 (_tmp21_); _tmp22_ = function; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp22_); _tmp23_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp24_ = _tmp23_; _tmp25_ = vala_ccode_variable_declarator_new ("_arguments_iter", NULL, NULL); _tmp26_ = _tmp25_; vala_ccode_function_add_declaration (_tmp24_, "GVariantIter", (ValaCCodeDeclarator*) _tmp26_, 0); _vala_ccode_node_unref0 (_tmp26_); _tmp27_ = vala_ccode_identifier_new ("g_variant_iter_init"); _tmp28_ = _tmp27_; _tmp29_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp28_); _tmp30_ = _tmp29_; _vala_ccode_node_unref0 (_tmp28_); iter_init = _tmp30_; _tmp31_ = iter_init; _tmp32_ = vala_ccode_identifier_new ("_arguments_iter"); _tmp33_ = _tmp32_; _tmp34_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp33_); _tmp35_ = _tmp34_; vala_ccode_function_call_add_argument (_tmp31_, (ValaCCodeExpression*) _tmp35_); _vala_ccode_node_unref0 (_tmp35_); _vala_ccode_node_unref0 (_tmp33_); _tmp36_ = iter_init; _tmp37_ = vala_ccode_identifier_new ("parameters"); _tmp38_ = _tmp37_; vala_ccode_function_call_add_argument (_tmp36_, (ValaCCodeExpression*) _tmp38_); _vala_ccode_node_unref0 (_tmp38_); _tmp39_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp40_ = _tmp39_; _tmp41_ = iter_init; vala_ccode_function_add_expression (_tmp40_, (ValaCCodeExpression*) _tmp41_); _tmp42_ = vala_ccode_identifier_new ("g_signal_emit_by_name"); _tmp43_ = _tmp42_; _tmp44_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp43_); _tmp45_ = _tmp44_; _vala_ccode_node_unref0 (_tmp43_); ccall = _tmp45_; _tmp46_ = ccall; _tmp47_ = vala_ccode_identifier_new ("self"); _tmp48_ = _tmp47_; vala_ccode_function_call_add_argument (_tmp46_, (ValaCCodeExpression*) _tmp48_); _vala_ccode_node_unref0 (_tmp48_); _tmp49_ = ccall; _tmp50_ = sig; _tmp51_ = vala_ccode_base_module_get_signal_canonical_constant ((ValaCCodeBaseModule*) self, _tmp50_, NULL); _tmp52_ = _tmp51_; vala_ccode_function_call_add_argument (_tmp49_, (ValaCCodeExpression*) _tmp52_); _vala_ccode_node_unref0 (_tmp52_); { ValaSignal* _tmp53_; ValaList* _tmp54_ = NULL; ValaList* _param_list; ValaList* _tmp55_; gint _tmp56_; gint _tmp57_; gint _param_size; gint _param_index; _tmp53_ = sig; _tmp54_ = vala_signal_get_parameters (_tmp53_); _param_list = _tmp54_; _tmp55_ = _param_list; _tmp56_ = vala_collection_get_size ((ValaCollection*) _tmp55_); _tmp57_ = _tmp56_; _param_size = _tmp57_; _param_index = -1; while (TRUE) { gint _tmp58_; gint _tmp59_; gint _tmp60_; ValaList* _tmp61_; gint _tmp62_; gpointer _tmp63_ = NULL; ValaParameter* param; ValaParameter* _tmp64_; const gchar* _tmp65_; const gchar* _tmp66_; gchar* _tmp67_ = NULL; gchar* param_name; ValaParameter* _tmp68_; ValaDataType* _tmp69_; ValaDataType* _tmp70_; ValaDataType* _tmp71_ = NULL; ValaDataType* owned_type; ValaDataType* _tmp72_; ValaCCodeFunction* _tmp73_; ValaCCodeFunction* _tmp74_; ValaDataType* _tmp75_; gchar* _tmp76_ = NULL; gchar* _tmp77_; const gchar* _tmp78_; ValaParameter* _tmp79_; ValaDataType* _tmp80_; ValaDataType* _tmp81_; ValaCCodeExpression* _tmp82_ = NULL; ValaCCodeExpression* _tmp83_; ValaCCodeVariableDeclarator* _tmp84_; ValaCCodeVariableDeclarator* _tmp85_; ValaParameter* _tmp86_; ValaDataType* _tmp87_; ValaDataType* _tmp88_; ValaTypeSymbol* _tmp89_; ValaTypeSymbol* _tmp90_; ValaStruct* _tmp91_; ValaStruct* st; gboolean _tmp92_ = FALSE; ValaStruct* _tmp93_; gboolean _tmp96_; ValaParameter* _tmp107_; ValaDataType* _tmp108_; ValaDataType* _tmp109_; ValaParameter* _tmp135_; ValaDataType* _tmp136_; ValaDataType* _tmp137_; ValaCCodeIdentifier* _tmp138_; ValaCCodeIdentifier* _tmp139_; const gchar* _tmp140_; ValaCCodeIdentifier* _tmp141_; ValaCCodeIdentifier* _tmp142_; ValaParameter* _tmp143_; _tmp58_ = _param_index; _param_index = _tmp58_ + 1; _tmp59_ = _param_index; _tmp60_ = _param_size; if (!(_tmp59_ < _tmp60_)) { break; } _tmp61_ = _param_list; _tmp62_ = _param_index; _tmp63_ = vala_list_get (_tmp61_, _tmp62_); param = (ValaParameter*) _tmp63_; _tmp64_ = param; _tmp65_ = vala_symbol_get_name ((ValaSymbol*) _tmp64_); _tmp66_ = _tmp65_; _tmp67_ = vala_ccode_base_module_get_variable_cname ((ValaCCodeBaseModule*) self, _tmp66_); param_name = _tmp67_; _tmp68_ = param; _tmp69_ = vala_variable_get_variable_type ((ValaVariable*) _tmp68_); _tmp70_ = _tmp69_; _tmp71_ = vala_data_type_copy (_tmp70_); owned_type = _tmp71_; _tmp72_ = owned_type; vala_data_type_set_value_owned (_tmp72_, TRUE); _tmp73_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp74_ = _tmp73_; _tmp75_ = owned_type; _tmp76_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp75_); _tmp77_ = _tmp76_; _tmp78_ = param_name; _tmp79_ = param; _tmp80_ = vala_variable_get_variable_type ((ValaVariable*) _tmp79_); _tmp81_ = _tmp80_; _tmp82_ = vala_ccode_base_module_default_value_for_type ((ValaCCodeBaseModule*) self, _tmp81_, TRUE); _tmp83_ = _tmp82_; _tmp84_ = vala_ccode_variable_declarator_new_zero (_tmp78_, _tmp83_, NULL); _tmp85_ = _tmp84_; vala_ccode_function_add_declaration (_tmp74_, _tmp77_, (ValaCCodeDeclarator*) _tmp85_, 0); _vala_ccode_node_unref0 (_tmp85_); _vala_ccode_node_unref0 (_tmp83_); _g_free0 (_tmp77_); _tmp86_ = param; _tmp87_ = vala_variable_get_variable_type ((ValaVariable*) _tmp86_); _tmp88_ = _tmp87_; _tmp89_ = vala_data_type_get_data_type (_tmp88_); _tmp90_ = _tmp89_; _tmp91_ = _vala_code_node_ref0 (VALA_IS_STRUCT (_tmp90_) ? ((ValaStruct*) _tmp90_) : NULL); st = _tmp91_; _tmp93_ = st; if (_tmp93_ != NULL) { ValaStruct* _tmp94_; gboolean _tmp95_ = FALSE; _tmp94_ = st; _tmp95_ = vala_struct_is_simple_type (_tmp94_); _tmp92_ = !_tmp95_; } else { _tmp92_ = FALSE; } _tmp96_ = _tmp92_; if (_tmp96_) { ValaCCodeFunctionCall* _tmp97_; const gchar* _tmp98_; ValaCCodeIdentifier* _tmp99_; ValaCCodeIdentifier* _tmp100_; ValaCCodeUnaryExpression* _tmp101_; ValaCCodeUnaryExpression* _tmp102_; _tmp97_ = ccall; _tmp98_ = param_name; _tmp99_ = vala_ccode_identifier_new (_tmp98_); _tmp100_ = _tmp99_; _tmp101_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp100_); _tmp102_ = _tmp101_; vala_ccode_function_call_add_argument (_tmp97_, (ValaCCodeExpression*) _tmp102_); _vala_ccode_node_unref0 (_tmp102_); _vala_ccode_node_unref0 (_tmp100_); } else { ValaCCodeFunctionCall* _tmp103_; const gchar* _tmp104_; ValaCCodeIdentifier* _tmp105_; ValaCCodeIdentifier* _tmp106_; _tmp103_ = ccall; _tmp104_ = param_name; _tmp105_ = vala_ccode_identifier_new (_tmp104_); _tmp106_ = _tmp105_; vala_ccode_function_call_add_argument (_tmp103_, (ValaCCodeExpression*) _tmp106_); _vala_ccode_node_unref0 (_tmp106_); } _tmp107_ = param; _tmp108_ = vala_variable_get_variable_type ((ValaVariable*) _tmp107_); _tmp109_ = _tmp108_; if (VALA_IS_ARRAY_TYPE (_tmp109_)) { ValaParameter* _tmp110_; ValaDataType* _tmp111_; ValaDataType* _tmp112_; ValaArrayType* _tmp113_; ValaArrayType* array_type; _tmp110_ = param; _tmp111_ = vala_variable_get_variable_type ((ValaVariable*) _tmp110_); _tmp112_ = _tmp111_; _tmp113_ = _vala_code_node_ref0 (VALA_ARRAY_TYPE (_tmp112_)); array_type = _tmp113_; { gint dim; dim = 1; { gboolean _tmp114_; _tmp114_ = TRUE; while (TRUE) { gboolean _tmp115_; gint _tmp117_; ValaArrayType* _tmp118_; gint _tmp119_; gint _tmp120_; ValaParameter* _tmp121_; gint _tmp122_; gchar* _tmp123_ = NULL; gchar* length_cname; ValaCCodeFunction* _tmp124_; ValaCCodeFunction* _tmp125_; const gchar* _tmp126_; ValaCCodeConstant* _tmp127_; ValaCCodeConstant* _tmp128_; ValaCCodeVariableDeclarator* _tmp129_; ValaCCodeVariableDeclarator* _tmp130_; ValaCCodeFunctionCall* _tmp131_; const gchar* _tmp132_; ValaCCodeIdentifier* _tmp133_; ValaCCodeIdentifier* _tmp134_; _tmp115_ = _tmp114_; if (!_tmp115_) { gint _tmp116_; _tmp116_ = dim; dim = _tmp116_ + 1; } _tmp114_ = FALSE; _tmp117_ = dim; _tmp118_ = array_type; _tmp119_ = vala_array_type_get_rank (_tmp118_); _tmp120_ = _tmp119_; if (!(_tmp117_ <= _tmp120_)) { break; } _tmp121_ = param; _tmp122_ = dim; _tmp123_ = vala_ccode_base_module_get_parameter_array_length_cname ((ValaCCodeBaseModule*) self, _tmp121_, _tmp122_); length_cname = _tmp123_; _tmp124_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp125_ = _tmp124_; _tmp126_ = length_cname; _tmp127_ = vala_ccode_constant_new ("0"); _tmp128_ = _tmp127_; _tmp129_ = vala_ccode_variable_declarator_new (_tmp126_, (ValaCCodeExpression*) _tmp128_, NULL); _tmp130_ = _tmp129_; vala_ccode_function_add_declaration (_tmp125_, "int", (ValaCCodeDeclarator*) _tmp130_, 0); _vala_ccode_node_unref0 (_tmp130_); _vala_ccode_node_unref0 (_tmp128_); _tmp131_ = ccall; _tmp132_ = length_cname; _tmp133_ = vala_ccode_identifier_new (_tmp132_); _tmp134_ = _tmp133_; vala_ccode_function_call_add_argument (_tmp131_, (ValaCCodeExpression*) _tmp134_); _vala_ccode_node_unref0 (_tmp134_); _g_free0 (length_cname); } } } _vala_code_node_unref0 (array_type); } _tmp135_ = param; _tmp136_ = vala_variable_get_variable_type ((ValaVariable*) _tmp135_); _tmp137_ = _tmp136_; _tmp138_ = vala_ccode_identifier_new ("_arguments_iter"); _tmp139_ = _tmp138_; _tmp140_ = param_name; _tmp141_ = vala_ccode_identifier_new (_tmp140_); _tmp142_ = _tmp141_; _tmp143_ = param; vala_gvariant_module_read_expression ((ValaGVariantModule*) self, _tmp137_, (ValaCCodeExpression*) _tmp139_, (ValaCCodeExpression*) _tmp142_, (ValaSymbol*) _tmp143_, NULL, NULL); _vala_ccode_node_unref0 (_tmp142_); _vala_ccode_node_unref0 (_tmp139_); _vala_code_node_unref0 (st); _vala_code_node_unref0 (owned_type); _g_free0 (param_name); _vala_code_node_unref0 (param); } _vala_iterable_unref0 (_param_list); } _tmp144_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp145_ = _tmp144_; _tmp146_ = ccall; vala_ccode_function_add_expression (_tmp145_, (ValaCCodeExpression*) _tmp146_); { ValaSignal* _tmp147_; ValaList* _tmp148_ = NULL; ValaList* _param_list; ValaList* _tmp149_; gint _tmp150_; gint _tmp151_; gint _param_size; gint _param_index; _tmp147_ = sig; _tmp148_ = vala_signal_get_parameters (_tmp147_); _param_list = _tmp148_; _tmp149_ = _param_list; _tmp150_ = vala_collection_get_size ((ValaCollection*) _tmp149_); _tmp151_ = _tmp150_; _param_size = _tmp151_; _param_index = -1; while (TRUE) { gint _tmp152_; gint _tmp153_; gint _tmp154_; ValaList* _tmp155_; gint _tmp156_; gpointer _tmp157_ = NULL; ValaParameter* param; ValaParameter* _tmp158_; ValaDataType* _tmp159_; ValaDataType* _tmp160_; ValaDataType* _tmp161_ = NULL; ValaDataType* owned_type; ValaDataType* _tmp162_; ValaDataType* _tmp163_; gboolean _tmp164_ = FALSE; _tmp152_ = _param_index; _param_index = _tmp152_ + 1; _tmp153_ = _param_index; _tmp154_ = _param_size; if (!(_tmp153_ < _tmp154_)) { break; } _tmp155_ = _param_list; _tmp156_ = _param_index; _tmp157_ = vala_list_get (_tmp155_, _tmp156_); param = (ValaParameter*) _tmp157_; _tmp158_ = param; _tmp159_ = vala_variable_get_variable_type ((ValaVariable*) _tmp158_); _tmp160_ = _tmp159_; _tmp161_ = vala_data_type_copy (_tmp160_); owned_type = _tmp161_; _tmp162_ = owned_type; vala_data_type_set_value_owned (_tmp162_, TRUE); _tmp163_ = owned_type; _tmp164_ = vala_ccode_base_module_requires_destroy ((ValaCCodeBaseModule*) self, _tmp163_); if (_tmp164_) { ValaDataType* _tmp165_; ValaParameter* _tmp166_; const gchar* _tmp167_; const gchar* _tmp168_; ValaLocalVariable* _tmp169_; ValaLocalVariable* local; ValaCCodeFunction* _tmp170_; ValaCCodeFunction* _tmp171_; ValaLocalVariable* _tmp172_; ValaCCodeExpression* _tmp173_ = NULL; ValaCCodeExpression* _tmp174_; _tmp165_ = owned_type; _tmp166_ = param; _tmp167_ = vala_symbol_get_name ((ValaSymbol*) _tmp166_); _tmp168_ = _tmp167_; _tmp169_ = vala_local_variable_new (_tmp165_, _tmp168_, NULL, NULL); local = _tmp169_; _tmp170_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp171_ = _tmp170_; _tmp172_ = local; _tmp173_ = vala_ccode_base_module_destroy_local ((ValaCCodeBaseModule*) self, _tmp172_); _tmp174_ = _tmp173_; vala_ccode_function_add_expression (_tmp171_, _tmp174_); _vala_ccode_node_unref0 (_tmp174_); _vala_code_node_unref0 (local); } _vala_code_node_unref0 (owned_type); _vala_code_node_unref0 (param); } _vala_iterable_unref0 (_param_list); } vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp175_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp176_ = function; vala_ccode_file_add_function_declaration (_tmp175_, _tmp176_); _tmp177_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp178_ = function; vala_ccode_file_add_function (_tmp177_, _tmp178_); result = wrapper_name; _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (iter_init); _vala_ccode_node_unref0 (function); return result; } static void vala_gd_bus_client_module_generate_signal_handler_function (ValaGDBusClientModule* self, ValaObjectTypeSymbol* sym) { ValaObjectTypeSymbol* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; gchar* _tmp3_; gchar* _tmp4_; ValaCCodeFunction* _tmp5_; ValaCCodeFunction* _tmp6_; ValaCCodeFunction* cfunc; ValaCCodeFunction* _tmp7_; ValaCCodeParameter* _tmp8_; ValaCCodeParameter* _tmp9_; ValaCCodeFunction* _tmp10_; ValaCCodeParameter* _tmp11_; ValaCCodeParameter* _tmp12_; ValaCCodeFunction* _tmp13_; ValaCCodeParameter* _tmp14_; ValaCCodeParameter* _tmp15_; ValaCCodeFunction* _tmp16_; ValaCCodeParameter* _tmp17_; ValaCCodeParameter* _tmp18_; ValaCCodeFunction* _tmp19_; ValaCCodeFunction* _tmp20_; ValaCCodeModifiers _tmp21_; ValaCCodeModifiers _tmp22_; ValaCCodeFile* _tmp23_; ValaCCodeFunction* _tmp24_; ValaCCodeFunction* _tmp25_; gboolean firstif; gboolean _tmp92_; ValaCCodeFile* _tmp95_; ValaCCodeFunction* _tmp96_; g_return_if_fail (self != NULL); g_return_if_fail (sym != NULL); _tmp0_ = sym; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = g_strconcat (_tmp2_, "proxy_g_signal", NULL); _tmp4_ = _tmp3_; _tmp5_ = vala_ccode_function_new (_tmp4_, "void"); _tmp6_ = _tmp5_; _g_free0 (_tmp4_); _g_free0 (_tmp2_); cfunc = _tmp6_; _tmp7_ = cfunc; _tmp8_ = vala_ccode_parameter_new ("proxy", "GDBusProxy*"); _tmp9_ = _tmp8_; vala_ccode_function_add_parameter (_tmp7_, _tmp9_); _vala_ccode_node_unref0 (_tmp9_); _tmp10_ = cfunc; _tmp11_ = vala_ccode_parameter_new ("sender_name", "const gchar*"); _tmp12_ = _tmp11_; vala_ccode_function_add_parameter (_tmp10_, _tmp12_); _vala_ccode_node_unref0 (_tmp12_); _tmp13_ = cfunc; _tmp14_ = vala_ccode_parameter_new ("signal_name", "const gchar*"); _tmp15_ = _tmp14_; vala_ccode_function_add_parameter (_tmp13_, _tmp15_); _vala_ccode_node_unref0 (_tmp15_); _tmp16_ = cfunc; _tmp17_ = vala_ccode_parameter_new ("parameters", "GVariant*"); _tmp18_ = _tmp17_; vala_ccode_function_add_parameter (_tmp16_, _tmp18_); _vala_ccode_node_unref0 (_tmp18_); _tmp19_ = cfunc; _tmp20_ = cfunc; _tmp21_ = vala_ccode_function_get_modifiers (_tmp20_); _tmp22_ = _tmp21_; vala_ccode_function_set_modifiers (_tmp20_, _tmp22_ | VALA_CCODE_MODIFIERS_STATIC); _tmp23_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp24_ = cfunc; vala_ccode_file_add_function_declaration (_tmp23_, _tmp24_); _tmp25_ = cfunc; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp25_); firstif = TRUE; { ValaObjectTypeSymbol* _tmp26_; ValaList* _tmp27_ = NULL; ValaList* _sig_list; ValaList* _tmp28_; gint _tmp29_; gint _tmp30_; gint _sig_size; gint _sig_index; _tmp26_ = sym; _tmp27_ = vala_object_type_symbol_get_signals (_tmp26_); _sig_list = _tmp27_; _tmp28_ = _sig_list; _tmp29_ = vala_collection_get_size ((ValaCollection*) _tmp28_); _tmp30_ = _tmp29_; _sig_size = _tmp30_; _sig_index = -1; while (TRUE) { gint _tmp31_; gint _tmp32_; gint _tmp33_; ValaList* _tmp34_; gint _tmp35_; gpointer _tmp36_ = NULL; ValaSignal* sig; ValaSignal* _tmp37_; ValaSymbolAccessibility _tmp38_; ValaSymbolAccessibility _tmp39_; ValaCCodeFile* _tmp40_; ValaCCodeIdentifier* _tmp41_; ValaCCodeIdentifier* _tmp42_; ValaCCodeFunctionCall* _tmp43_; ValaCCodeFunctionCall* _tmp44_; ValaCCodeFunctionCall* ccheck; ValaCCodeFunctionCall* _tmp45_; ValaCCodeIdentifier* _tmp46_; ValaCCodeIdentifier* _tmp47_; ValaCCodeFunctionCall* _tmp48_; ValaSignal* _tmp49_; gchar* _tmp50_ = NULL; gchar* _tmp51_; gchar* _tmp52_ = NULL; gchar* _tmp53_; ValaCCodeConstant* _tmp54_; ValaCCodeConstant* _tmp55_; ValaCCodeFunctionCall* _tmp56_; ValaCCodeConstant* _tmp57_; ValaCCodeConstant* _tmp58_; ValaCCodeBinaryExpression* _tmp59_; ValaCCodeBinaryExpression* _tmp60_; ValaCCodeBinaryExpression* cond; gboolean _tmp61_; ValaSignal* _tmp68_; ValaObjectTypeSymbol* _tmp69_; gchar* _tmp70_ = NULL; gchar* _tmp71_; ValaCCodeIdentifier* _tmp72_; ValaCCodeIdentifier* _tmp73_; ValaCCodeFunctionCall* _tmp74_; ValaCCodeFunctionCall* _tmp75_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp76_; ValaCCodeIdentifier* _tmp77_; ValaCCodeIdentifier* _tmp78_; ValaObjectTypeSymbol* _tmp79_; gchar* _tmp80_ = NULL; gchar* _tmp81_; gchar* _tmp82_; gchar* _tmp83_; ValaCCodeCastExpression* _tmp84_; ValaCCodeCastExpression* _tmp85_; ValaCCodeFunctionCall* _tmp86_; ValaCCodeIdentifier* _tmp87_; ValaCCodeIdentifier* _tmp88_; ValaCCodeFunction* _tmp89_; ValaCCodeFunction* _tmp90_; ValaCCodeFunctionCall* _tmp91_; _tmp31_ = _sig_index; _sig_index = _tmp31_ + 1; _tmp32_ = _sig_index; _tmp33_ = _sig_size; if (!(_tmp32_ < _tmp33_)) { break; } _tmp34_ = _sig_list; _tmp35_ = _sig_index; _tmp36_ = vala_list_get (_tmp34_, _tmp35_); sig = (ValaSignal*) _tmp36_; _tmp37_ = sig; _tmp38_ = vala_symbol_get_access ((ValaSymbol*) _tmp37_); _tmp39_ = _tmp38_; if (_tmp39_ != VALA_SYMBOL_ACCESSIBILITY_PUBLIC) { _vala_code_node_unref0 (sig); continue; } _tmp40_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_include (_tmp40_, "string.h", FALSE); _tmp41_ = vala_ccode_identifier_new ("strcmp"); _tmp42_ = _tmp41_; _tmp43_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp42_); _tmp44_ = _tmp43_; _vala_ccode_node_unref0 (_tmp42_); ccheck = _tmp44_; _tmp45_ = ccheck; _tmp46_ = vala_ccode_identifier_new ("signal_name"); _tmp47_ = _tmp46_; vala_ccode_function_call_add_argument (_tmp45_, (ValaCCodeExpression*) _tmp47_); _vala_ccode_node_unref0 (_tmp47_); _tmp48_ = ccheck; _tmp49_ = sig; _tmp50_ = vala_gd_bus_module_get_dbus_name_for_member ((ValaSymbol*) _tmp49_); _tmp51_ = _tmp50_; _tmp52_ = g_strdup_printf ("\"%s\"", _tmp51_); _tmp53_ = _tmp52_; _tmp54_ = vala_ccode_constant_new (_tmp53_); _tmp55_ = _tmp54_; vala_ccode_function_call_add_argument (_tmp48_, (ValaCCodeExpression*) _tmp55_); _vala_ccode_node_unref0 (_tmp55_); _g_free0 (_tmp53_); _g_free0 (_tmp51_); _tmp56_ = ccheck; _tmp57_ = vala_ccode_constant_new ("0"); _tmp58_ = _tmp57_; _tmp59_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_EQUALITY, (ValaCCodeExpression*) _tmp56_, (ValaCCodeExpression*) _tmp58_); _tmp60_ = _tmp59_; _vala_ccode_node_unref0 (_tmp58_); cond = _tmp60_; _tmp61_ = firstif; if (_tmp61_) { ValaCCodeFunction* _tmp62_; ValaCCodeFunction* _tmp63_; ValaCCodeBinaryExpression* _tmp64_; _tmp62_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp63_ = _tmp62_; _tmp64_ = cond; vala_ccode_function_open_if (_tmp63_, (ValaCCodeExpression*) _tmp64_); firstif = FALSE; } else { ValaCCodeFunction* _tmp65_; ValaCCodeFunction* _tmp66_; ValaCCodeBinaryExpression* _tmp67_; _tmp65_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp66_ = _tmp65_; _tmp67_ = cond; vala_ccode_function_else_if (_tmp66_, (ValaCCodeExpression*) _tmp67_); } _tmp68_ = sig; _tmp69_ = sym; _tmp70_ = vala_gd_bus_client_module_generate_dbus_signal_handler (self, _tmp68_, _tmp69_); _tmp71_ = _tmp70_; _tmp72_ = vala_ccode_identifier_new (_tmp71_); _tmp73_ = _tmp72_; _tmp74_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp73_); _tmp75_ = _tmp74_; _vala_ccode_node_unref0 (_tmp73_); _g_free0 (_tmp71_); ccall = _tmp75_; _tmp76_ = ccall; _tmp77_ = vala_ccode_identifier_new ("proxy"); _tmp78_ = _tmp77_; _tmp79_ = sym; _tmp80_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp79_); _tmp81_ = _tmp80_; _tmp82_ = g_strconcat (_tmp81_, "*", NULL); _tmp83_ = _tmp82_; _tmp84_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp78_, _tmp83_); _tmp85_ = _tmp84_; vala_ccode_function_call_add_argument (_tmp76_, (ValaCCodeExpression*) _tmp85_); _vala_ccode_node_unref0 (_tmp85_); _g_free0 (_tmp83_); _g_free0 (_tmp81_); _vala_ccode_node_unref0 (_tmp78_); _tmp86_ = ccall; _tmp87_ = vala_ccode_identifier_new ("parameters"); _tmp88_ = _tmp87_; vala_ccode_function_call_add_argument (_tmp86_, (ValaCCodeExpression*) _tmp88_); _vala_ccode_node_unref0 (_tmp88_); _tmp89_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp90_ = _tmp89_; _tmp91_ = ccall; vala_ccode_function_add_expression (_tmp90_, (ValaCCodeExpression*) _tmp91_); _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (cond); _vala_ccode_node_unref0 (ccheck); _vala_code_node_unref0 (sig); } _vala_iterable_unref0 (_sig_list); } _tmp92_ = firstif; if (!_tmp92_) { ValaCCodeFunction* _tmp93_; ValaCCodeFunction* _tmp94_; _tmp93_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp94_ = _tmp93_; vala_ccode_function_close (_tmp94_); } vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp95_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp96_ = cfunc; vala_ccode_file_add_function (_tmp95_, _tmp96_); _vala_ccode_node_unref0 (cfunc); } static void vala_gd_bus_client_module_generate_marshalling (ValaGDBusClientModule* self, ValaMethod* m, ValaGDBusClientModuleCallType call_type, const gchar* iface_name, const gchar* method_name) { ValaCCodeIdentifier* _tmp0_; ValaCCodeIdentifier* _tmp1_; ValaCCodeCastExpression* _tmp2_; ValaCCodeCastExpression* _tmp3_; ValaCCodeCastExpression* gdbusproxy; ValaCCodeIdentifier* _tmp4_; ValaCCodeIdentifier* _tmp5_; ValaCCodeFunctionCall* _tmp6_; ValaCCodeFunctionCall* _tmp7_; ValaCCodeFunctionCall* connection; ValaCCodeFunctionCall* _tmp8_; ValaCCodeCastExpression* _tmp9_; ValaMethod* _tmp10_; gboolean _tmp11_ = FALSE; gboolean uses_fd; gboolean _tmp12_; ValaGDBusClientModuleCallType _tmp14_; gboolean _tmp384_ = FALSE; ValaGDBusClientModuleCallType _tmp385_; gboolean _tmp387_; g_return_if_fail (self != NULL); g_return_if_fail (m != NULL); _tmp0_ = vala_ccode_identifier_new ("self"); _tmp1_ = _tmp0_; _tmp2_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp1_, "GDBusProxy *"); _tmp3_ = _tmp2_; _vala_ccode_node_unref0 (_tmp1_); gdbusproxy = _tmp3_; _tmp4_ = vala_ccode_identifier_new ("g_dbus_proxy_get_connection"); _tmp5_ = _tmp4_; _tmp6_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp5_); _tmp7_ = _tmp6_; _vala_ccode_node_unref0 (_tmp5_); connection = _tmp7_; _tmp8_ = connection; _tmp9_ = gdbusproxy; vala_ccode_function_call_add_argument (_tmp8_, (ValaCCodeExpression*) _tmp9_); _tmp10_ = m; _tmp11_ = vala_gd_bus_module_dbus_method_uses_file_descriptor ((ValaGDBusModule*) self, _tmp10_); uses_fd = _tmp11_; _tmp12_ = uses_fd; if (_tmp12_) { ValaCCodeFile* _tmp13_; _tmp13_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_include (_tmp13_, "gio/gunixfdlist.h", FALSE); } _tmp14_ = call_type; if (_tmp14_ != VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_FINISH) { ValaCCodeIdentifier* _tmp15_; ValaCCodeIdentifier* _tmp16_; ValaCCodeFunctionCall* _tmp17_; ValaCCodeFunctionCall* _tmp18_; ValaCCodeFunctionCall* destination; ValaCCodeFunctionCall* _tmp19_; ValaCCodeCastExpression* _tmp20_; ValaCCodeIdentifier* _tmp21_; ValaCCodeIdentifier* _tmp22_; ValaCCodeFunctionCall* _tmp23_; ValaCCodeFunctionCall* _tmp24_; ValaCCodeFunctionCall* interface_name; ValaCCodeFunctionCall* _tmp25_; ValaCCodeCastExpression* _tmp26_; ValaCCodeIdentifier* _tmp27_; ValaCCodeIdentifier* _tmp28_; ValaCCodeFunctionCall* _tmp29_; ValaCCodeFunctionCall* _tmp30_; ValaCCodeFunctionCall* object_path; ValaCCodeFunctionCall* _tmp31_; ValaCCodeCastExpression* _tmp32_; ValaCCodeIdentifier* _tmp33_; ValaCCodeIdentifier* _tmp34_; ValaCCodeFunctionCall* _tmp35_; ValaCCodeFunctionCall* _tmp36_; ValaCCodeFunctionCall* timeout; ValaCCodeFunctionCall* _tmp37_; ValaCCodeCastExpression* _tmp38_; ValaCCodeFunction* _tmp64_; ValaCCodeFunction* _tmp65_; ValaCCodeVariableDeclarator* _tmp66_; ValaCCodeVariableDeclarator* _tmp67_; ValaCCodeIdentifier* _tmp68_; ValaCCodeIdentifier* _tmp69_; ValaCCodeFunctionCall* _tmp70_; ValaCCodeFunctionCall* _tmp71_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp72_; ValaCCodeFunctionCall* _tmp73_; ValaCCodeFunctionCall* _tmp74_; ValaCCodeFunctionCall* _tmp75_; const gchar* _tmp76_; ValaCCodeFunctionCall* _tmp85_; const gchar* _tmp86_; gchar* _tmp87_ = NULL; gchar* _tmp88_; ValaCCodeConstant* _tmp89_; ValaCCodeConstant* _tmp90_; ValaCCodeFunction* _tmp91_; ValaCCodeFunction* _tmp92_; ValaCCodeIdentifier* _tmp93_; ValaCCodeIdentifier* _tmp94_; ValaCCodeFunctionCall* _tmp95_; ValaCCodeFunction* _tmp96_; ValaCCodeFunction* _tmp97_; ValaCCodeVariableDeclarator* _tmp98_; ValaCCodeVariableDeclarator* _tmp99_; ValaCCodeFunction* _tmp100_; ValaCCodeFunction* _tmp101_; ValaCCodeVariableDeclarator* _tmp102_; ValaCCodeVariableDeclarator* _tmp103_; ValaCCodeIdentifier* _tmp104_; ValaCCodeIdentifier* _tmp105_; ValaCCodeFunctionCall* _tmp106_; ValaCCodeFunctionCall* _tmp107_; ValaCCodeFunctionCall* builder_init; ValaCCodeFunctionCall* _tmp108_; ValaCCodeIdentifier* _tmp109_; ValaCCodeIdentifier* _tmp110_; ValaCCodeUnaryExpression* _tmp111_; ValaCCodeUnaryExpression* _tmp112_; ValaCCodeFunctionCall* _tmp113_; ValaCCodeIdentifier* _tmp114_; ValaCCodeIdentifier* _tmp115_; ValaCCodeFunction* _tmp116_; ValaCCodeFunction* _tmp117_; ValaCCodeFunctionCall* _tmp118_; gboolean _tmp119_; ValaCCodeConstant* _tmp132_; ValaCCodeExpression* cancellable; ValaCCodeIdentifier* _tmp193_; ValaCCodeIdentifier* _tmp194_; ValaCCodeFunctionCall* _tmp195_; ValaCCodeFunctionCall* _tmp196_; ValaCCodeFunctionCall* builder_end; ValaCCodeFunctionCall* _tmp197_; ValaCCodeIdentifier* _tmp198_; ValaCCodeIdentifier* _tmp199_; ValaCCodeUnaryExpression* _tmp200_; ValaCCodeUnaryExpression* _tmp201_; ValaCCodeFunction* _tmp202_; ValaCCodeFunction* _tmp203_; ValaCCodeIdentifier* _tmp204_; ValaCCodeIdentifier* _tmp205_; ValaCCodeFunctionCall* _tmp206_; ValaCCodeIdentifier* _tmp207_; ValaCCodeIdentifier* _tmp208_; ValaCCodeFunctionCall* _tmp209_; ValaCCodeFunctionCall* _tmp210_; ValaCCodeFunctionCall* set_body; ValaCCodeFunctionCall* _tmp211_; ValaCCodeIdentifier* _tmp212_; ValaCCodeIdentifier* _tmp213_; ValaCCodeFunctionCall* _tmp214_; ValaCCodeIdentifier* _tmp215_; ValaCCodeIdentifier* _tmp216_; ValaCCodeFunction* _tmp217_; ValaCCodeFunction* _tmp218_; ValaCCodeFunctionCall* _tmp219_; gboolean _tmp220_; ValaGDBusClientModuleCallType _tmp242_; ValaCCodeIdentifier* _tmp350_; ValaCCodeIdentifier* _tmp351_; ValaCCodeFunctionCall* _tmp352_; ValaCCodeFunctionCall* _tmp353_; ValaCCodeIdentifier* _tmp354_; ValaCCodeIdentifier* _tmp355_; ValaCCodeFunction* _tmp356_; ValaCCodeFunction* _tmp357_; ValaCCodeFunctionCall* _tmp358_; _tmp15_ = vala_ccode_identifier_new ("g_dbus_proxy_get_name"); _tmp16_ = _tmp15_; _tmp17_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp16_); _tmp18_ = _tmp17_; _vala_ccode_node_unref0 (_tmp16_); destination = _tmp18_; _tmp19_ = destination; _tmp20_ = gdbusproxy; vala_ccode_function_call_add_argument (_tmp19_, (ValaCCodeExpression*) _tmp20_); _tmp21_ = vala_ccode_identifier_new ("g_dbus_proxy_get_interface_name"); _tmp22_ = _tmp21_; _tmp23_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp22_); _tmp24_ = _tmp23_; _vala_ccode_node_unref0 (_tmp22_); interface_name = _tmp24_; _tmp25_ = interface_name; _tmp26_ = gdbusproxy; vala_ccode_function_call_add_argument (_tmp25_, (ValaCCodeExpression*) _tmp26_); _tmp27_ = vala_ccode_identifier_new ("g_dbus_proxy_get_object_path"); _tmp28_ = _tmp27_; _tmp29_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp28_); _tmp30_ = _tmp29_; _vala_ccode_node_unref0 (_tmp28_); object_path = _tmp30_; _tmp31_ = object_path; _tmp32_ = gdbusproxy; vala_ccode_function_call_add_argument (_tmp31_, (ValaCCodeExpression*) _tmp32_); _tmp33_ = vala_ccode_identifier_new ("g_dbus_proxy_get_default_timeout"); _tmp34_ = _tmp33_; _tmp35_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp34_); _tmp36_ = _tmp35_; _vala_ccode_node_unref0 (_tmp34_); timeout = _tmp36_; _tmp37_ = timeout; _tmp38_ = gdbusproxy; vala_ccode_function_call_add_argument (_tmp37_, (ValaCCodeExpression*) _tmp38_); { ValaMethod* _tmp39_; ValaList* _tmp40_ = NULL; ValaList* _error_type_list; ValaList* _tmp41_; gint _tmp42_; gint _tmp43_; gint _error_type_size; gint _error_type_index; _tmp39_ = m; _tmp40_ = vala_code_node_get_error_types ((ValaCodeNode*) _tmp39_); _error_type_list = _tmp40_; _tmp41_ = _error_type_list; _tmp42_ = vala_collection_get_size ((ValaCollection*) _tmp41_); _tmp43_ = _tmp42_; _error_type_size = _tmp43_; _error_type_index = -1; while (TRUE) { gint _tmp44_; gint _tmp45_; gint _tmp46_; ValaList* _tmp47_; gint _tmp48_; gpointer _tmp49_ = NULL; ValaDataType* error_type; ValaDataType* _tmp50_; ValaErrorType* _tmp51_; ValaErrorType* errtype; ValaErrorType* _tmp52_; ValaErrorDomain* _tmp53_; ValaErrorDomain* _tmp54_; _tmp44_ = _error_type_index; _error_type_index = _tmp44_ + 1; _tmp45_ = _error_type_index; _tmp46_ = _error_type_size; if (!(_tmp45_ < _tmp46_)) { break; } _tmp47_ = _error_type_list; _tmp48_ = _error_type_index; _tmp49_ = vala_list_get (_tmp47_, _tmp48_); error_type = (ValaDataType*) _tmp49_; _tmp50_ = error_type; _tmp51_ = _vala_code_node_ref0 (VALA_ERROR_TYPE (_tmp50_)); errtype = _tmp51_; _tmp52_ = errtype; _tmp53_ = vala_error_type_get_error_domain (_tmp52_); _tmp54_ = _tmp53_; if (_tmp54_ != NULL) { ValaCCodeFunction* _tmp55_; ValaCCodeFunction* _tmp56_; ValaErrorType* _tmp57_; ValaErrorDomain* _tmp58_; ValaErrorDomain* _tmp59_; gchar* _tmp60_ = NULL; gchar* _tmp61_; ValaCCodeIdentifier* _tmp62_; ValaCCodeIdentifier* _tmp63_; _tmp55_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp56_ = _tmp55_; _tmp57_ = errtype; _tmp58_ = vala_error_type_get_error_domain (_tmp57_); _tmp59_ = _tmp58_; _tmp60_ = vala_ccode_base_module_get_ccode_upper_case_name ((ValaSymbol*) _tmp59_, NULL); _tmp61_ = _tmp60_; _tmp62_ = vala_ccode_identifier_new (_tmp61_); _tmp63_ = _tmp62_; vala_ccode_function_add_expression (_tmp56_, (ValaCCodeExpression*) _tmp63_); _vala_ccode_node_unref0 (_tmp63_); _g_free0 (_tmp61_); } _vala_code_node_unref0 (errtype); _vala_code_node_unref0 (error_type); } _vala_iterable_unref0 (_error_type_list); } _tmp64_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp65_ = _tmp64_; _tmp66_ = vala_ccode_variable_declarator_new ("*_message", NULL, NULL); _tmp67_ = _tmp66_; vala_ccode_function_add_declaration (_tmp65_, "GDBusMessage", (ValaCCodeDeclarator*) _tmp67_, 0); _vala_ccode_node_unref0 (_tmp67_); _tmp68_ = vala_ccode_identifier_new ("g_dbus_message_new_method_call"); _tmp69_ = _tmp68_; _tmp70_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp69_); _tmp71_ = _tmp70_; _vala_ccode_node_unref0 (_tmp69_); ccall = _tmp71_; _tmp72_ = ccall; _tmp73_ = destination; vala_ccode_function_call_add_argument (_tmp72_, (ValaCCodeExpression*) _tmp73_); _tmp74_ = ccall; _tmp75_ = object_path; vala_ccode_function_call_add_argument (_tmp74_, (ValaCCodeExpression*) _tmp75_); _tmp76_ = iface_name; if (_tmp76_ != NULL) { ValaCCodeFunctionCall* _tmp77_; const gchar* _tmp78_; gchar* _tmp79_ = NULL; gchar* _tmp80_; ValaCCodeConstant* _tmp81_; ValaCCodeConstant* _tmp82_; _tmp77_ = ccall; _tmp78_ = iface_name; _tmp79_ = g_strdup_printf ("\"%s\"", _tmp78_); _tmp80_ = _tmp79_; _tmp81_ = vala_ccode_constant_new (_tmp80_); _tmp82_ = _tmp81_; vala_ccode_function_call_add_argument (_tmp77_, (ValaCCodeExpression*) _tmp82_); _vala_ccode_node_unref0 (_tmp82_); _g_free0 (_tmp80_); } else { ValaCCodeFunctionCall* _tmp83_; ValaCCodeFunctionCall* _tmp84_; _tmp83_ = ccall; _tmp84_ = interface_name; vala_ccode_function_call_add_argument (_tmp83_, (ValaCCodeExpression*) _tmp84_); } _tmp85_ = ccall; _tmp86_ = method_name; _tmp87_ = g_strdup_printf ("\"%s\"", _tmp86_); _tmp88_ = _tmp87_; _tmp89_ = vala_ccode_constant_new (_tmp88_); _tmp90_ = _tmp89_; vala_ccode_function_call_add_argument (_tmp85_, (ValaCCodeExpression*) _tmp90_); _vala_ccode_node_unref0 (_tmp90_); _g_free0 (_tmp88_); _tmp91_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp92_ = _tmp91_; _tmp93_ = vala_ccode_identifier_new ("_message"); _tmp94_ = _tmp93_; _tmp95_ = ccall; vala_ccode_function_add_assignment (_tmp92_, (ValaCCodeExpression*) _tmp94_, (ValaCCodeExpression*) _tmp95_); _vala_ccode_node_unref0 (_tmp94_); _tmp96_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp97_ = _tmp96_; _tmp98_ = vala_ccode_variable_declarator_new ("*_arguments", NULL, NULL); _tmp99_ = _tmp98_; vala_ccode_function_add_declaration (_tmp97_, "GVariant", (ValaCCodeDeclarator*) _tmp99_, 0); _vala_ccode_node_unref0 (_tmp99_); _tmp100_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp101_ = _tmp100_; _tmp102_ = vala_ccode_variable_declarator_new ("_arguments_builder", NULL, NULL); _tmp103_ = _tmp102_; vala_ccode_function_add_declaration (_tmp101_, "GVariantBuilder", (ValaCCodeDeclarator*) _tmp103_, 0); _vala_ccode_node_unref0 (_tmp103_); _tmp104_ = vala_ccode_identifier_new ("g_variant_builder_init"); _tmp105_ = _tmp104_; _tmp106_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp105_); _tmp107_ = _tmp106_; _vala_ccode_node_unref0 (_tmp105_); builder_init = _tmp107_; _tmp108_ = builder_init; _tmp109_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp110_ = _tmp109_; _tmp111_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp110_); _tmp112_ = _tmp111_; vala_ccode_function_call_add_argument (_tmp108_, (ValaCCodeExpression*) _tmp112_); _vala_ccode_node_unref0 (_tmp112_); _vala_ccode_node_unref0 (_tmp110_); _tmp113_ = builder_init; _tmp114_ = vala_ccode_identifier_new ("G_VARIANT_TYPE_TUPLE"); _tmp115_ = _tmp114_; vala_ccode_function_call_add_argument (_tmp113_, (ValaCCodeExpression*) _tmp115_); _vala_ccode_node_unref0 (_tmp115_); _tmp116_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp117_ = _tmp116_; _tmp118_ = builder_init; vala_ccode_function_add_expression (_tmp117_, (ValaCCodeExpression*) _tmp118_); _tmp119_ = uses_fd; if (_tmp119_) { ValaCCodeFunction* _tmp120_; ValaCCodeFunction* _tmp121_; ValaCCodeVariableDeclarator* _tmp122_; ValaCCodeVariableDeclarator* _tmp123_; ValaCCodeFunction* _tmp124_; ValaCCodeFunction* _tmp125_; ValaCCodeIdentifier* _tmp126_; ValaCCodeIdentifier* _tmp127_; ValaCCodeIdentifier* _tmp128_; ValaCCodeIdentifier* _tmp129_; ValaCCodeFunctionCall* _tmp130_; ValaCCodeFunctionCall* _tmp131_; _tmp120_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp121_ = _tmp120_; _tmp122_ = vala_ccode_variable_declarator_new ("*_fd_list", NULL, NULL); _tmp123_ = _tmp122_; vala_ccode_function_add_declaration (_tmp121_, "GUnixFDList", (ValaCCodeDeclarator*) _tmp123_, 0); _vala_ccode_node_unref0 (_tmp123_); _tmp124_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp125_ = _tmp124_; _tmp126_ = vala_ccode_identifier_new ("_fd_list"); _tmp127_ = _tmp126_; _tmp128_ = vala_ccode_identifier_new ("g_unix_fd_list_new"); _tmp129_ = _tmp128_; _tmp130_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp129_); _tmp131_ = _tmp130_; vala_ccode_function_add_assignment (_tmp125_, (ValaCCodeExpression*) _tmp127_, (ValaCCodeExpression*) _tmp131_); _vala_ccode_node_unref0 (_tmp131_); _vala_ccode_node_unref0 (_tmp129_); _vala_ccode_node_unref0 (_tmp127_); } _tmp132_ = vala_ccode_constant_new ("NULL"); cancellable = (ValaCCodeExpression*) _tmp132_; { ValaMethod* _tmp133_; ValaList* _tmp134_ = NULL; ValaList* _param_list; ValaList* _tmp135_; gint _tmp136_; gint _tmp137_; gint _param_size; gint _param_index; _tmp133_ = m; _tmp134_ = vala_method_get_parameters (_tmp133_); _param_list = _tmp134_; _tmp135_ = _param_list; _tmp136_ = vala_collection_get_size ((ValaCollection*) _tmp135_); _tmp137_ = _tmp136_; _param_size = _tmp137_; _param_index = -1; while (TRUE) { gint _tmp138_; gint _tmp139_; gint _tmp140_; ValaList* _tmp141_; gint _tmp142_; gpointer _tmp143_ = NULL; ValaParameter* param; ValaParameter* _tmp144_; ValaParameterDirection _tmp145_; ValaParameterDirection _tmp146_; _tmp138_ = _param_index; _param_index = _tmp138_ + 1; _tmp139_ = _param_index; _tmp140_ = _param_size; if (!(_tmp139_ < _tmp140_)) { break; } _tmp141_ = _param_list; _tmp142_ = _param_index; _tmp143_ = vala_list_get (_tmp141_, _tmp142_); param = (ValaParameter*) _tmp143_; _tmp144_ = param; _tmp145_ = vala_parameter_get_direction (_tmp144_); _tmp146_ = _tmp145_; if (_tmp146_ == VALA_PARAMETER_DIRECTION_IN) { ValaParameter* _tmp147_; const gchar* _tmp148_; const gchar* _tmp149_; gchar* _tmp150_ = NULL; gchar* _tmp151_; ValaCCodeIdentifier* _tmp152_; ValaCCodeExpression* _tmp153_; ValaCCodeExpression* expr; ValaParameter* _tmp154_; ValaDataType* _tmp155_; ValaDataType* _tmp156_; gboolean _tmp157_ = FALSE; gboolean _tmp160_ = FALSE; ValaParameter* _tmp161_; ValaDataType* _tmp162_; ValaDataType* _tmp163_; gboolean _tmp171_; gboolean _tmp174_ = FALSE; ValaParameter* _tmp175_; ValaDataType* _tmp176_; ValaDataType* _tmp177_; gboolean _tmp185_; ValaParameter* _tmp186_; ValaDataType* _tmp187_; ValaDataType* _tmp188_; ValaCCodeIdentifier* _tmp189_; ValaCCodeIdentifier* _tmp190_; ValaCCodeExpression* _tmp191_; ValaParameter* _tmp192_; _tmp147_ = param; _tmp148_ = vala_symbol_get_name ((ValaSymbol*) _tmp147_); _tmp149_ = _tmp148_; _tmp150_ = vala_ccode_base_module_get_variable_cname ((ValaCCodeBaseModule*) self, _tmp149_); _tmp151_ = _tmp150_; _tmp152_ = vala_ccode_identifier_new (_tmp151_); _tmp153_ = (ValaCCodeExpression*) _tmp152_; _g_free0 (_tmp151_); expr = _tmp153_; _tmp154_ = param; _tmp155_ = vala_variable_get_variable_type ((ValaVariable*) _tmp154_); _tmp156_ = _tmp155_; _tmp157_ = vala_data_type_is_real_struct_type (_tmp156_); if (_tmp157_) { ValaCCodeExpression* _tmp158_; ValaCCodeUnaryExpression* _tmp159_; _tmp158_ = expr; _tmp159_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, _tmp158_); _vala_ccode_node_unref0 (expr); expr = (ValaCCodeExpression*) _tmp159_; } _tmp161_ = param; _tmp162_ = vala_variable_get_variable_type ((ValaVariable*) _tmp161_); _tmp163_ = _tmp162_; if (VALA_IS_OBJECT_TYPE (_tmp163_)) { ValaParameter* _tmp164_; ValaDataType* _tmp165_; ValaDataType* _tmp166_; ValaTypeSymbol* _tmp167_; ValaTypeSymbol* _tmp168_; gchar* _tmp169_ = NULL; gchar* _tmp170_; _tmp164_ = param; _tmp165_ = vala_variable_get_variable_type ((ValaVariable*) _tmp164_); _tmp166_ = _tmp165_; _tmp167_ = vala_data_type_get_data_type (_tmp166_); _tmp168_ = _tmp167_; _tmp169_ = vala_symbol_get_full_name ((ValaSymbol*) _tmp168_); _tmp170_ = _tmp169_; _tmp160_ = g_strcmp0 (_tmp170_, "GLib.Cancellable") == 0; _g_free0 (_tmp170_); } else { _tmp160_ = FALSE; } _tmp171_ = _tmp160_; if (_tmp171_) { ValaCCodeExpression* _tmp172_; ValaCCodeExpression* _tmp173_; _tmp172_ = expr; _tmp173_ = _vala_ccode_node_ref0 (_tmp172_); _vala_ccode_node_unref0 (cancellable); cancellable = _tmp173_; _vala_ccode_node_unref0 (expr); _vala_code_node_unref0 (param); continue; } _tmp175_ = param; _tmp176_ = vala_variable_get_variable_type ((ValaVariable*) _tmp175_); _tmp177_ = _tmp176_; if (VALA_IS_OBJECT_TYPE (_tmp177_)) { ValaParameter* _tmp178_; ValaDataType* _tmp179_; ValaDataType* _tmp180_; ValaTypeSymbol* _tmp181_; ValaTypeSymbol* _tmp182_; gchar* _tmp183_ = NULL; gchar* _tmp184_; _tmp178_ = param; _tmp179_ = vala_variable_get_variable_type ((ValaVariable*) _tmp178_); _tmp180_ = _tmp179_; _tmp181_ = vala_data_type_get_data_type (_tmp180_); _tmp182_ = _tmp181_; _tmp183_ = vala_symbol_get_full_name ((ValaSymbol*) _tmp182_); _tmp184_ = _tmp183_; _tmp174_ = g_strcmp0 (_tmp184_, "GLib.BusName") == 0; _g_free0 (_tmp184_); } else { _tmp174_ = FALSE; } _tmp185_ = _tmp174_; if (_tmp185_) { _vala_ccode_node_unref0 (expr); _vala_code_node_unref0 (param); continue; } _tmp186_ = param; _tmp187_ = vala_variable_get_variable_type ((ValaVariable*) _tmp186_); _tmp188_ = _tmp187_; _tmp189_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp190_ = _tmp189_; _tmp191_ = expr; _tmp192_ = param; vala_gd_bus_module_send_dbus_value ((ValaGDBusModule*) self, _tmp188_, (ValaCCodeExpression*) _tmp190_, _tmp191_, (ValaSymbol*) _tmp192_); _vala_ccode_node_unref0 (_tmp190_); _vala_ccode_node_unref0 (expr); } _vala_code_node_unref0 (param); } _vala_iterable_unref0 (_param_list); } _tmp193_ = vala_ccode_identifier_new ("g_variant_builder_end"); _tmp194_ = _tmp193_; _tmp195_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp194_); _tmp196_ = _tmp195_; _vala_ccode_node_unref0 (_tmp194_); builder_end = _tmp196_; _tmp197_ = builder_end; _tmp198_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp199_ = _tmp198_; _tmp200_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp199_); _tmp201_ = _tmp200_; vala_ccode_function_call_add_argument (_tmp197_, (ValaCCodeExpression*) _tmp201_); _vala_ccode_node_unref0 (_tmp201_); _vala_ccode_node_unref0 (_tmp199_); _tmp202_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp203_ = _tmp202_; _tmp204_ = vala_ccode_identifier_new ("_arguments"); _tmp205_ = _tmp204_; _tmp206_ = builder_end; vala_ccode_function_add_assignment (_tmp203_, (ValaCCodeExpression*) _tmp205_, (ValaCCodeExpression*) _tmp206_); _vala_ccode_node_unref0 (_tmp205_); _tmp207_ = vala_ccode_identifier_new ("g_dbus_message_set_body"); _tmp208_ = _tmp207_; _tmp209_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp208_); _tmp210_ = _tmp209_; _vala_ccode_node_unref0 (_tmp208_); set_body = _tmp210_; _tmp211_ = set_body; _tmp212_ = vala_ccode_identifier_new ("_message"); _tmp213_ = _tmp212_; vala_ccode_function_call_add_argument (_tmp211_, (ValaCCodeExpression*) _tmp213_); _vala_ccode_node_unref0 (_tmp213_); _tmp214_ = set_body; _tmp215_ = vala_ccode_identifier_new ("_arguments"); _tmp216_ = _tmp215_; vala_ccode_function_call_add_argument (_tmp214_, (ValaCCodeExpression*) _tmp216_); _vala_ccode_node_unref0 (_tmp216_); _tmp217_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp218_ = _tmp217_; _tmp219_ = set_body; vala_ccode_function_add_expression (_tmp218_, (ValaCCodeExpression*) _tmp219_); _tmp220_ = uses_fd; if (_tmp220_) { ValaCCodeIdentifier* _tmp221_; ValaCCodeIdentifier* _tmp222_; ValaCCodeFunctionCall* _tmp223_; ValaCCodeFunctionCall* _tmp224_; ValaCCodeIdentifier* _tmp225_; ValaCCodeIdentifier* _tmp226_; ValaCCodeFunctionCall* _tmp227_; ValaCCodeIdentifier* _tmp228_; ValaCCodeIdentifier* _tmp229_; ValaCCodeFunction* _tmp230_; ValaCCodeFunction* _tmp231_; ValaCCodeFunctionCall* _tmp232_; ValaCCodeIdentifier* _tmp233_; ValaCCodeIdentifier* _tmp234_; ValaCCodeFunctionCall* _tmp235_; ValaCCodeFunctionCall* _tmp236_; ValaCCodeIdentifier* _tmp237_; ValaCCodeIdentifier* _tmp238_; ValaCCodeFunction* _tmp239_; ValaCCodeFunction* _tmp240_; ValaCCodeFunctionCall* _tmp241_; _tmp221_ = vala_ccode_identifier_new ("g_dbus_message_set_unix_fd_list"); _tmp222_ = _tmp221_; _tmp223_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp222_); _vala_ccode_node_unref0 (ccall); ccall = _tmp223_; _vala_ccode_node_unref0 (_tmp222_); _tmp224_ = ccall; _tmp225_ = vala_ccode_identifier_new ("_message"); _tmp226_ = _tmp225_; vala_ccode_function_call_add_argument (_tmp224_, (ValaCCodeExpression*) _tmp226_); _vala_ccode_node_unref0 (_tmp226_); _tmp227_ = ccall; _tmp228_ = vala_ccode_identifier_new ("_fd_list"); _tmp229_ = _tmp228_; vala_ccode_function_call_add_argument (_tmp227_, (ValaCCodeExpression*) _tmp229_); _vala_ccode_node_unref0 (_tmp229_); _tmp230_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp231_ = _tmp230_; _tmp232_ = ccall; vala_ccode_function_add_expression (_tmp231_, (ValaCCodeExpression*) _tmp232_); _tmp233_ = vala_ccode_identifier_new ("g_object_unref"); _tmp234_ = _tmp233_; _tmp235_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp234_); _vala_ccode_node_unref0 (ccall); ccall = _tmp235_; _vala_ccode_node_unref0 (_tmp234_); _tmp236_ = ccall; _tmp237_ = vala_ccode_identifier_new ("_fd_list"); _tmp238_ = _tmp237_; vala_ccode_function_call_add_argument (_tmp236_, (ValaCCodeExpression*) _tmp238_); _vala_ccode_node_unref0 (_tmp238_); _tmp239_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp240_ = _tmp239_; _tmp241_ = ccall; vala_ccode_function_add_expression (_tmp240_, (ValaCCodeExpression*) _tmp241_); } _tmp242_ = call_type; if (_tmp242_ == VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC) { ValaCCodeIdentifier* _tmp243_; ValaCCodeIdentifier* _tmp244_; ValaCCodeFunctionCall* _tmp245_; ValaCCodeFunctionCall* _tmp246_; ValaCCodeFunctionCall* _tmp247_; ValaCCodeFunctionCall* _tmp248_; ValaCCodeIdentifier* _tmp249_; ValaCCodeIdentifier* _tmp250_; ValaCCodeFunctionCall* _tmp251_; ValaCCodeConstant* _tmp252_; ValaCCodeConstant* _tmp253_; ValaCCodeFunctionCall* _tmp254_; ValaCCodeFunctionCall* _tmp255_; ValaCCodeFunctionCall* _tmp256_; ValaCCodeConstant* _tmp257_; ValaCCodeConstant* _tmp258_; ValaCCodeFunctionCall* _tmp259_; ValaCCodeExpression* _tmp260_; ValaCCodeFunctionCall* _tmp261_; ValaCCodeIdentifier* _tmp262_; ValaCCodeIdentifier* _tmp263_; ValaCCodeFunction* _tmp264_; ValaCCodeFunction* _tmp265_; ValaCCodeIdentifier* _tmp266_; ValaCCodeIdentifier* _tmp267_; ValaCCodeFunctionCall* _tmp268_; _tmp243_ = vala_ccode_identifier_new ("g_dbus_connection_send_message_with_reply_sync"); _tmp244_ = _tmp243_; _tmp245_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp244_); _vala_ccode_node_unref0 (ccall); ccall = _tmp245_; _vala_ccode_node_unref0 (_tmp244_); _tmp246_ = ccall; _tmp247_ = connection; vala_ccode_function_call_add_argument (_tmp246_, (ValaCCodeExpression*) _tmp247_); _tmp248_ = ccall; _tmp249_ = vala_ccode_identifier_new ("_message"); _tmp250_ = _tmp249_; vala_ccode_function_call_add_argument (_tmp248_, (ValaCCodeExpression*) _tmp250_); _vala_ccode_node_unref0 (_tmp250_); _tmp251_ = ccall; _tmp252_ = vala_ccode_constant_new ("G_DBUS_SEND_MESSAGE_FLAGS_NONE"); _tmp253_ = _tmp252_; vala_ccode_function_call_add_argument (_tmp251_, (ValaCCodeExpression*) _tmp253_); _vala_ccode_node_unref0 (_tmp253_); _tmp254_ = ccall; _tmp255_ = timeout; vala_ccode_function_call_add_argument (_tmp254_, (ValaCCodeExpression*) _tmp255_); _tmp256_ = ccall; _tmp257_ = vala_ccode_constant_new ("NULL"); _tmp258_ = _tmp257_; vala_ccode_function_call_add_argument (_tmp256_, (ValaCCodeExpression*) _tmp258_); _vala_ccode_node_unref0 (_tmp258_); _tmp259_ = ccall; _tmp260_ = cancellable; vala_ccode_function_call_add_argument (_tmp259_, _tmp260_); _tmp261_ = ccall; _tmp262_ = vala_ccode_identifier_new ("error"); _tmp263_ = _tmp262_; vala_ccode_function_call_add_argument (_tmp261_, (ValaCCodeExpression*) _tmp263_); _vala_ccode_node_unref0 (_tmp263_); _tmp264_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp265_ = _tmp264_; _tmp266_ = vala_ccode_identifier_new ("_reply_message"); _tmp267_ = _tmp266_; _tmp268_ = ccall; vala_ccode_function_add_assignment (_tmp265_, (ValaCCodeExpression*) _tmp267_, (ValaCCodeExpression*) _tmp268_); _vala_ccode_node_unref0 (_tmp267_); } else { ValaGDBusClientModuleCallType _tmp269_; _tmp269_ = call_type; if (_tmp269_ == VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_NO_REPLY) { ValaCCodeIdentifier* _tmp270_; ValaCCodeIdentifier* _tmp271_; ValaCCodeFunctionCall* _tmp272_; ValaCCodeFunctionCall* _tmp273_; ValaCCodeFunctionCall* set_flags; ValaCCodeFunctionCall* _tmp274_; ValaCCodeIdentifier* _tmp275_; ValaCCodeIdentifier* _tmp276_; ValaCCodeFunctionCall* _tmp277_; ValaCCodeConstant* _tmp278_; ValaCCodeConstant* _tmp279_; ValaCCodeFunction* _tmp280_; ValaCCodeFunction* _tmp281_; ValaCCodeFunctionCall* _tmp282_; ValaCCodeIdentifier* _tmp283_; ValaCCodeIdentifier* _tmp284_; ValaCCodeFunctionCall* _tmp285_; ValaCCodeFunctionCall* _tmp286_; ValaCCodeFunctionCall* _tmp287_; ValaCCodeFunctionCall* _tmp288_; ValaCCodeIdentifier* _tmp289_; ValaCCodeIdentifier* _tmp290_; ValaCCodeFunctionCall* _tmp291_; ValaCCodeConstant* _tmp292_; ValaCCodeConstant* _tmp293_; ValaCCodeFunctionCall* _tmp294_; ValaCCodeConstant* _tmp295_; ValaCCodeConstant* _tmp296_; ValaCCodeFunctionCall* _tmp297_; ValaCCodeIdentifier* _tmp298_; ValaCCodeIdentifier* _tmp299_; ValaCCodeFunction* _tmp300_; ValaCCodeFunction* _tmp301_; ValaCCodeFunctionCall* _tmp302_; _tmp270_ = vala_ccode_identifier_new ("g_dbus_message_set_flags"); _tmp271_ = _tmp270_; _tmp272_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp271_); _tmp273_ = _tmp272_; _vala_ccode_node_unref0 (_tmp271_); set_flags = _tmp273_; _tmp274_ = set_flags; _tmp275_ = vala_ccode_identifier_new ("_message"); _tmp276_ = _tmp275_; vala_ccode_function_call_add_argument (_tmp274_, (ValaCCodeExpression*) _tmp276_); _vala_ccode_node_unref0 (_tmp276_); _tmp277_ = set_flags; _tmp278_ = vala_ccode_constant_new ("G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED"); _tmp279_ = _tmp278_; vala_ccode_function_call_add_argument (_tmp277_, (ValaCCodeExpression*) _tmp279_); _vala_ccode_node_unref0 (_tmp279_); _tmp280_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp281_ = _tmp280_; _tmp282_ = set_flags; vala_ccode_function_add_expression (_tmp281_, (ValaCCodeExpression*) _tmp282_); _tmp283_ = vala_ccode_identifier_new ("g_dbus_connection_send_message"); _tmp284_ = _tmp283_; _tmp285_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp284_); _vala_ccode_node_unref0 (ccall); ccall = _tmp285_; _vala_ccode_node_unref0 (_tmp284_); _tmp286_ = ccall; _tmp287_ = connection; vala_ccode_function_call_add_argument (_tmp286_, (ValaCCodeExpression*) _tmp287_); _tmp288_ = ccall; _tmp289_ = vala_ccode_identifier_new ("_message"); _tmp290_ = _tmp289_; vala_ccode_function_call_add_argument (_tmp288_, (ValaCCodeExpression*) _tmp290_); _vala_ccode_node_unref0 (_tmp290_); _tmp291_ = ccall; _tmp292_ = vala_ccode_constant_new ("G_DBUS_SEND_MESSAGE_FLAGS_NONE"); _tmp293_ = _tmp292_; vala_ccode_function_call_add_argument (_tmp291_, (ValaCCodeExpression*) _tmp293_); _vala_ccode_node_unref0 (_tmp293_); _tmp294_ = ccall; _tmp295_ = vala_ccode_constant_new ("NULL"); _tmp296_ = _tmp295_; vala_ccode_function_call_add_argument (_tmp294_, (ValaCCodeExpression*) _tmp296_); _vala_ccode_node_unref0 (_tmp296_); _tmp297_ = ccall; _tmp298_ = vala_ccode_identifier_new ("error"); _tmp299_ = _tmp298_; vala_ccode_function_call_add_argument (_tmp297_, (ValaCCodeExpression*) _tmp299_); _vala_ccode_node_unref0 (_tmp299_); _tmp300_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp301_ = _tmp300_; _tmp302_ = ccall; vala_ccode_function_add_expression (_tmp301_, (ValaCCodeExpression*) _tmp302_); _vala_ccode_node_unref0 (set_flags); } else { ValaGDBusClientModuleCallType _tmp303_; _tmp303_ = call_type; if (_tmp303_ == VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_ASYNC) { ValaCCodeIdentifier* _tmp304_; ValaCCodeIdentifier* _tmp305_; ValaCCodeFunctionCall* _tmp306_; ValaCCodeFunctionCall* _tmp307_; ValaCCodeFunctionCall* _tmp308_; ValaCCodeFunctionCall* _tmp309_; ValaCCodeIdentifier* _tmp310_; ValaCCodeIdentifier* _tmp311_; ValaCCodeFunctionCall* _tmp312_; ValaCCodeConstant* _tmp313_; ValaCCodeConstant* _tmp314_; ValaCCodeFunctionCall* _tmp315_; ValaCCodeFunctionCall* _tmp316_; ValaCCodeFunctionCall* _tmp317_; ValaCCodeConstant* _tmp318_; ValaCCodeConstant* _tmp319_; ValaCCodeFunctionCall* _tmp320_; ValaCCodeExpression* _tmp321_; ValaCCodeFunctionCall* _tmp322_; gchar* _tmp323_ = NULL; gchar* _tmp324_; ValaCCodeIdentifier* _tmp325_; ValaCCodeIdentifier* _tmp326_; ValaCCodeIdentifier* _tmp327_; ValaCCodeIdentifier* _tmp328_; ValaCCodeFunctionCall* _tmp329_; ValaCCodeFunctionCall* _tmp330_; ValaCCodeFunctionCall* res_wrapper; ValaCCodeFunctionCall* _tmp331_; ValaCCodeIdentifier* _tmp332_; ValaCCodeIdentifier* _tmp333_; ValaCCodeCastExpression* _tmp334_; ValaCCodeCastExpression* _tmp335_; ValaCCodeFunctionCall* _tmp336_; ValaCCodeIdentifier* _tmp337_; ValaCCodeIdentifier* _tmp338_; ValaCCodeFunctionCall* _tmp339_; ValaCCodeIdentifier* _tmp340_; ValaCCodeIdentifier* _tmp341_; ValaCCodeFunctionCall* _tmp342_; ValaCCodeConstant* _tmp343_; ValaCCodeConstant* _tmp344_; ValaCCodeFunctionCall* _tmp345_; ValaCCodeFunctionCall* _tmp346_; ValaCCodeFunction* _tmp347_; ValaCCodeFunction* _tmp348_; ValaCCodeFunctionCall* _tmp349_; _tmp304_ = vala_ccode_identifier_new ("g_dbus_connection_send_message_with_reply"); _tmp305_ = _tmp304_; _tmp306_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp305_); _vala_ccode_node_unref0 (ccall); ccall = _tmp306_; _vala_ccode_node_unref0 (_tmp305_); _tmp307_ = ccall; _tmp308_ = connection; vala_ccode_function_call_add_argument (_tmp307_, (ValaCCodeExpression*) _tmp308_); _tmp309_ = ccall; _tmp310_ = vala_ccode_identifier_new ("_message"); _tmp311_ = _tmp310_; vala_ccode_function_call_add_argument (_tmp309_, (ValaCCodeExpression*) _tmp311_); _vala_ccode_node_unref0 (_tmp311_); _tmp312_ = ccall; _tmp313_ = vala_ccode_constant_new ("G_DBUS_SEND_MESSAGE_FLAGS_NONE"); _tmp314_ = _tmp313_; vala_ccode_function_call_add_argument (_tmp312_, (ValaCCodeExpression*) _tmp314_); _vala_ccode_node_unref0 (_tmp314_); _tmp315_ = ccall; _tmp316_ = timeout; vala_ccode_function_call_add_argument (_tmp315_, (ValaCCodeExpression*) _tmp316_); _tmp317_ = ccall; _tmp318_ = vala_ccode_constant_new ("NULL"); _tmp319_ = _tmp318_; vala_ccode_function_call_add_argument (_tmp317_, (ValaCCodeExpression*) _tmp319_); _vala_ccode_node_unref0 (_tmp319_); _tmp320_ = ccall; _tmp321_ = cancellable; vala_ccode_function_call_add_argument (_tmp320_, _tmp321_); _tmp322_ = ccall; _tmp323_ = vala_gasync_module_generate_async_callback_wrapper ((ValaGAsyncModule*) self); _tmp324_ = _tmp323_; _tmp325_ = vala_ccode_identifier_new (_tmp324_); _tmp326_ = _tmp325_; vala_ccode_function_call_add_argument (_tmp322_, (ValaCCodeExpression*) _tmp326_); _vala_ccode_node_unref0 (_tmp326_); _g_free0 (_tmp324_); _tmp327_ = vala_ccode_identifier_new ("g_simple_async_result_new"); _tmp328_ = _tmp327_; _tmp329_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp328_); _tmp330_ = _tmp329_; _vala_ccode_node_unref0 (_tmp328_); res_wrapper = _tmp330_; _tmp331_ = res_wrapper; _tmp332_ = vala_ccode_identifier_new ("self"); _tmp333_ = _tmp332_; _tmp334_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp333_, "GObject *"); _tmp335_ = _tmp334_; vala_ccode_function_call_add_argument (_tmp331_, (ValaCCodeExpression*) _tmp335_); _vala_ccode_node_unref0 (_tmp335_); _vala_ccode_node_unref0 (_tmp333_); _tmp336_ = res_wrapper; _tmp337_ = vala_ccode_identifier_new ("_callback_"); _tmp338_ = _tmp337_; vala_ccode_function_call_add_argument (_tmp336_, (ValaCCodeExpression*) _tmp338_); _vala_ccode_node_unref0 (_tmp338_); _tmp339_ = res_wrapper; _tmp340_ = vala_ccode_identifier_new ("_user_data_"); _tmp341_ = _tmp340_; vala_ccode_function_call_add_argument (_tmp339_, (ValaCCodeExpression*) _tmp341_); _vala_ccode_node_unref0 (_tmp341_); _tmp342_ = res_wrapper; _tmp343_ = vala_ccode_constant_new ("NULL"); _tmp344_ = _tmp343_; vala_ccode_function_call_add_argument (_tmp342_, (ValaCCodeExpression*) _tmp344_); _vala_ccode_node_unref0 (_tmp344_); _tmp345_ = ccall; _tmp346_ = res_wrapper; vala_ccode_function_call_add_argument (_tmp345_, (ValaCCodeExpression*) _tmp346_); _tmp347_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp348_ = _tmp347_; _tmp349_ = ccall; vala_ccode_function_add_expression (_tmp348_, (ValaCCodeExpression*) _tmp349_); _vala_ccode_node_unref0 (res_wrapper); } } } _tmp350_ = vala_ccode_identifier_new ("g_object_unref"); _tmp351_ = _tmp350_; _tmp352_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp351_); _vala_ccode_node_unref0 (ccall); ccall = _tmp352_; _vala_ccode_node_unref0 (_tmp351_); _tmp353_ = ccall; _tmp354_ = vala_ccode_identifier_new ("_message"); _tmp355_ = _tmp354_; vala_ccode_function_call_add_argument (_tmp353_, (ValaCCodeExpression*) _tmp355_); _vala_ccode_node_unref0 (_tmp355_); _tmp356_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp357_ = _tmp356_; _tmp358_ = ccall; vala_ccode_function_add_expression (_tmp357_, (ValaCCodeExpression*) _tmp358_); _vala_ccode_node_unref0 (set_body); _vala_ccode_node_unref0 (builder_end); _vala_ccode_node_unref0 (cancellable); _vala_ccode_node_unref0 (builder_init); _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (timeout); _vala_ccode_node_unref0 (object_path); _vala_ccode_node_unref0 (interface_name); _vala_ccode_node_unref0 (destination); } else { ValaCCodeIdentifier* _tmp359_; ValaCCodeIdentifier* _tmp360_; ValaCCodeFunctionCall* _tmp361_; ValaCCodeFunctionCall* _tmp362_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp363_; ValaCCodeFunctionCall* _tmp364_; ValaCCodeIdentifier* _tmp365_; ValaCCodeIdentifier* _tmp366_; ValaCCodeFunctionCall* _tmp367_; ValaCCodeFunctionCall* _tmp368_; ValaCCodeFunctionCall* inner_res; ValaCCodeFunctionCall* _tmp369_; ValaCCodeIdentifier* _tmp370_; ValaCCodeIdentifier* _tmp371_; ValaCCodeCastExpression* _tmp372_; ValaCCodeCastExpression* _tmp373_; ValaCCodeFunctionCall* _tmp374_; ValaCCodeFunctionCall* _tmp375_; ValaCCodeFunctionCall* _tmp376_; ValaCCodeConstant* _tmp377_; ValaCCodeConstant* _tmp378_; ValaCCodeFunction* _tmp379_; ValaCCodeFunction* _tmp380_; ValaCCodeIdentifier* _tmp381_; ValaCCodeIdentifier* _tmp382_; ValaCCodeFunctionCall* _tmp383_; _tmp359_ = vala_ccode_identifier_new ("g_dbus_connection_send_message_with_reply_finish"); _tmp360_ = _tmp359_; _tmp361_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp360_); _tmp362_ = _tmp361_; _vala_ccode_node_unref0 (_tmp360_); ccall = _tmp362_; _tmp363_ = ccall; _tmp364_ = connection; vala_ccode_function_call_add_argument (_tmp363_, (ValaCCodeExpression*) _tmp364_); _tmp365_ = vala_ccode_identifier_new ("g_simple_async_result_get_op_res_gpointer"); _tmp366_ = _tmp365_; _tmp367_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp366_); _tmp368_ = _tmp367_; _vala_ccode_node_unref0 (_tmp366_); inner_res = _tmp368_; _tmp369_ = inner_res; _tmp370_ = vala_ccode_identifier_new ("_res_"); _tmp371_ = _tmp370_; _tmp372_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp371_, "GSimpleAsyncResult *"); _tmp373_ = _tmp372_; vala_ccode_function_call_add_argument (_tmp369_, (ValaCCodeExpression*) _tmp373_); _vala_ccode_node_unref0 (_tmp373_); _vala_ccode_node_unref0 (_tmp371_); _tmp374_ = ccall; _tmp375_ = inner_res; vala_ccode_function_call_add_argument (_tmp374_, (ValaCCodeExpression*) _tmp375_); _tmp376_ = ccall; _tmp377_ = vala_ccode_constant_new ("error"); _tmp378_ = _tmp377_; vala_ccode_function_call_add_argument (_tmp376_, (ValaCCodeExpression*) _tmp378_); _vala_ccode_node_unref0 (_tmp378_); _tmp379_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp380_ = _tmp379_; _tmp381_ = vala_ccode_identifier_new ("_reply_message"); _tmp382_ = _tmp381_; _tmp383_ = ccall; vala_ccode_function_add_assignment (_tmp380_, (ValaCCodeExpression*) _tmp382_, (ValaCCodeExpression*) _tmp383_); _vala_ccode_node_unref0 (_tmp382_); _vala_ccode_node_unref0 (inner_res); _vala_ccode_node_unref0 (ccall); } _tmp385_ = call_type; if (_tmp385_ == VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC) { _tmp384_ = TRUE; } else { ValaGDBusClientModuleCallType _tmp386_; _tmp386_ = call_type; _tmp384_ = _tmp386_ == VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_FINISH; } _tmp387_ = _tmp384_; if (_tmp387_) { ValaCCodeFunction* _tmp388_; ValaCCodeFunction* _tmp389_; ValaCCodeVariableDeclarator* _tmp390_; ValaCCodeVariableDeclarator* _tmp391_; ValaCCodeIdentifier* _tmp392_; ValaCCodeIdentifier* _tmp393_; ValaCCodeFunctionCall* _tmp394_; ValaCCodeFunctionCall* _tmp395_; ValaCCodeFunctionCall* unref_reply; ValaCCodeFunctionCall* _tmp396_; ValaCCodeIdentifier* _tmp397_; ValaCCodeIdentifier* _tmp398_; ValaCCodeIdentifier* _tmp399_; ValaCCodeIdentifier* _tmp400_; ValaCCodeUnaryExpression* _tmp401_; ValaCCodeUnaryExpression* _tmp402_; ValaCCodeUnaryExpression* reply_is_null; ValaCCodeFunction* _tmp403_; ValaCCodeFunction* _tmp404_; ValaCCodeUnaryExpression* _tmp405_; ValaMethod* _tmp406_; ValaDataType* _tmp407_; ValaDataType* _tmp408_; ValaCCodeFunction* _tmp409_; ValaCCodeFunction* _tmp410_; ValaCCodeIdentifier* _tmp411_; ValaCCodeIdentifier* _tmp412_; ValaCCodeFunctionCall* _tmp413_; ValaCCodeFunctionCall* _tmp414_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp415_; ValaCCodeIdentifier* _tmp416_; ValaCCodeIdentifier* _tmp417_; ValaCCodeFunctionCall* _tmp418_; ValaCCodeIdentifier* _tmp419_; ValaCCodeIdentifier* _tmp420_; ValaCCodeFunction* _tmp421_; ValaCCodeFunction* _tmp422_; ValaCCodeFunctionCall* _tmp423_; ValaCCodeFunction* _tmp424_; ValaCCodeFunction* _tmp425_; ValaCCodeFunctionCall* _tmp426_; ValaMethod* _tmp427_; ValaDataType* _tmp428_; ValaDataType* _tmp429_; ValaCCodeFunction* _tmp430_; ValaCCodeFunction* _tmp431_; ValaMethod* _tmp432_; ValaDataType* _tmp433_; ValaDataType* _tmp434_; gboolean has_result; gboolean _tmp435_; gboolean _tmp456_; ValaCCodeFunction* _tmp725_; ValaCCodeFunction* _tmp726_; ValaCCodeFunctionCall* _tmp727_; gboolean _tmp728_ = FALSE; ValaMethod* _tmp729_; ValaDataType* _tmp730_; ValaDataType* _tmp731_; gboolean _tmp736_; _tmp388_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp389_ = _tmp388_; _tmp390_ = vala_ccode_variable_declarator_new ("*_reply_message", NULL, NULL); _tmp391_ = _tmp390_; vala_ccode_function_add_declaration (_tmp389_, "GDBusMessage", (ValaCCodeDeclarator*) _tmp391_, 0); _vala_ccode_node_unref0 (_tmp391_); _tmp392_ = vala_ccode_identifier_new ("g_object_unref"); _tmp393_ = _tmp392_; _tmp394_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp393_); _tmp395_ = _tmp394_; _vala_ccode_node_unref0 (_tmp393_); unref_reply = _tmp395_; _tmp396_ = unref_reply; _tmp397_ = vala_ccode_identifier_new ("_reply_message"); _tmp398_ = _tmp397_; vala_ccode_function_call_add_argument (_tmp396_, (ValaCCodeExpression*) _tmp398_); _vala_ccode_node_unref0 (_tmp398_); _tmp399_ = vala_ccode_identifier_new ("_reply_message"); _tmp400_ = _tmp399_; _tmp401_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, (ValaCCodeExpression*) _tmp400_); _tmp402_ = _tmp401_; _vala_ccode_node_unref0 (_tmp400_); reply_is_null = _tmp402_; _tmp403_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp404_ = _tmp403_; _tmp405_ = reply_is_null; vala_ccode_function_open_if (_tmp404_, (ValaCCodeExpression*) _tmp405_); _tmp406_ = m; _tmp407_ = vala_method_get_return_type (_tmp406_); _tmp408_ = _tmp407_; vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp408_); _tmp409_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp410_ = _tmp409_; vala_ccode_function_close (_tmp410_); _tmp411_ = vala_ccode_identifier_new ("g_dbus_message_to_gerror"); _tmp412_ = _tmp411_; _tmp413_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp412_); _tmp414_ = _tmp413_; _vala_ccode_node_unref0 (_tmp412_); ccall = _tmp414_; _tmp415_ = ccall; _tmp416_ = vala_ccode_identifier_new ("_reply_message"); _tmp417_ = _tmp416_; vala_ccode_function_call_add_argument (_tmp415_, (ValaCCodeExpression*) _tmp417_); _vala_ccode_node_unref0 (_tmp417_); _tmp418_ = ccall; _tmp419_ = vala_ccode_identifier_new ("error"); _tmp420_ = _tmp419_; vala_ccode_function_call_add_argument (_tmp418_, (ValaCCodeExpression*) _tmp420_); _vala_ccode_node_unref0 (_tmp420_); _tmp421_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp422_ = _tmp421_; _tmp423_ = ccall; vala_ccode_function_open_if (_tmp422_, (ValaCCodeExpression*) _tmp423_); _tmp424_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp425_ = _tmp424_; _tmp426_ = unref_reply; vala_ccode_function_add_expression (_tmp425_, (ValaCCodeExpression*) _tmp426_); _tmp427_ = m; _tmp428_ = vala_method_get_return_type (_tmp427_); _tmp429_ = _tmp428_; vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp429_); _tmp430_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp431_ = _tmp430_; vala_ccode_function_close (_tmp431_); _tmp432_ = m; _tmp433_ = vala_method_get_return_type (_tmp432_); _tmp434_ = _tmp433_; has_result = !VALA_IS_VOID_TYPE (_tmp434_); _tmp435_ = uses_fd; if (_tmp435_) { ValaCCodeFunction* _tmp436_; ValaCCodeFunction* _tmp437_; ValaCCodeConstant* _tmp438_; ValaCCodeConstant* _tmp439_; ValaCCodeVariableDeclarator* _tmp440_; ValaCCodeVariableDeclarator* _tmp441_; _tmp436_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp437_ = _tmp436_; _tmp438_ = vala_ccode_constant_new ("0"); _tmp439_ = _tmp438_; _tmp440_ = vala_ccode_variable_declarator_new_zero ("_fd_index", (ValaCCodeExpression*) _tmp439_, NULL); _tmp441_ = _tmp440_; vala_ccode_function_add_declaration (_tmp437_, "gint", (ValaCCodeDeclarator*) _tmp441_, 0); _vala_ccode_node_unref0 (_tmp441_); _vala_ccode_node_unref0 (_tmp439_); } { ValaMethod* _tmp442_; ValaList* _tmp443_ = NULL; ValaList* _param_list; ValaList* _tmp444_; gint _tmp445_; gint _tmp446_; gint _param_size; gint _param_index; _tmp442_ = m; _tmp443_ = vala_method_get_parameters (_tmp442_); _param_list = _tmp443_; _tmp444_ = _param_list; _tmp445_ = vala_collection_get_size ((ValaCollection*) _tmp444_); _tmp446_ = _tmp445_; _param_size = _tmp446_; _param_index = -1; while (TRUE) { gint _tmp447_; gint _tmp448_; gint _tmp449_; ValaList* _tmp450_; gint _tmp451_; gpointer _tmp452_ = NULL; ValaParameter* param; ValaParameter* _tmp453_; ValaParameterDirection _tmp454_; ValaParameterDirection _tmp455_; _tmp447_ = _param_index; _param_index = _tmp447_ + 1; _tmp448_ = _param_index; _tmp449_ = _param_size; if (!(_tmp448_ < _tmp449_)) { break; } _tmp450_ = _param_list; _tmp451_ = _param_index; _tmp452_ = vala_list_get (_tmp450_, _tmp451_); param = (ValaParameter*) _tmp452_; _tmp453_ = param; _tmp454_ = vala_parameter_get_direction (_tmp453_); _tmp455_ = _tmp454_; if (_tmp455_ == VALA_PARAMETER_DIRECTION_OUT) { has_result = TRUE; } _vala_code_node_unref0 (param); } _vala_iterable_unref0 (_param_list); } _tmp456_ = has_result; if (_tmp456_) { ValaCCodeFunction* _tmp457_; ValaCCodeFunction* _tmp458_; ValaCCodeVariableDeclarator* _tmp459_; ValaCCodeVariableDeclarator* _tmp460_; ValaCCodeFunction* _tmp461_; ValaCCodeFunction* _tmp462_; ValaCCodeVariableDeclarator* _tmp463_; ValaCCodeVariableDeclarator* _tmp464_; ValaCCodeIdentifier* _tmp465_; ValaCCodeIdentifier* _tmp466_; ValaCCodeFunctionCall* _tmp467_; ValaCCodeFunctionCall* _tmp468_; ValaCCodeIdentifier* _tmp469_; ValaCCodeIdentifier* _tmp470_; ValaCCodeFunction* _tmp471_; ValaCCodeFunction* _tmp472_; ValaCCodeIdentifier* _tmp473_; ValaCCodeIdentifier* _tmp474_; ValaCCodeFunctionCall* _tmp475_; ValaCCodeIdentifier* _tmp476_; ValaCCodeIdentifier* _tmp477_; ValaCCodeFunctionCall* _tmp478_; ValaCCodeFunctionCall* _tmp479_; ValaCCodeFunctionCall* iter_init; ValaCCodeFunctionCall* _tmp480_; ValaCCodeIdentifier* _tmp481_; ValaCCodeIdentifier* _tmp482_; ValaCCodeUnaryExpression* _tmp483_; ValaCCodeUnaryExpression* _tmp484_; ValaCCodeFunctionCall* _tmp485_; ValaCCodeIdentifier* _tmp486_; ValaCCodeIdentifier* _tmp487_; ValaCCodeFunction* _tmp488_; ValaCCodeFunction* _tmp489_; ValaCCodeFunctionCall* _tmp490_; ValaMethod* _tmp621_; ValaDataType* _tmp622_; ValaDataType* _tmp623_; _tmp457_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp458_ = _tmp457_; _tmp459_ = vala_ccode_variable_declarator_new ("*_reply", NULL, NULL); _tmp460_ = _tmp459_; vala_ccode_function_add_declaration (_tmp458_, "GVariant", (ValaCCodeDeclarator*) _tmp460_, 0); _vala_ccode_node_unref0 (_tmp460_); _tmp461_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp462_ = _tmp461_; _tmp463_ = vala_ccode_variable_declarator_new ("_reply_iter", NULL, NULL); _tmp464_ = _tmp463_; vala_ccode_function_add_declaration (_tmp462_, "GVariantIter", (ValaCCodeDeclarator*) _tmp464_, 0); _vala_ccode_node_unref0 (_tmp464_); _tmp465_ = vala_ccode_identifier_new ("g_dbus_message_get_body"); _tmp466_ = _tmp465_; _tmp467_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp466_); _vala_ccode_node_unref0 (ccall); ccall = _tmp467_; _vala_ccode_node_unref0 (_tmp466_); _tmp468_ = ccall; _tmp469_ = vala_ccode_identifier_new ("_reply_message"); _tmp470_ = _tmp469_; vala_ccode_function_call_add_argument (_tmp468_, (ValaCCodeExpression*) _tmp470_); _vala_ccode_node_unref0 (_tmp470_); _tmp471_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp472_ = _tmp471_; _tmp473_ = vala_ccode_identifier_new ("_reply"); _tmp474_ = _tmp473_; _tmp475_ = ccall; vala_ccode_function_add_assignment (_tmp472_, (ValaCCodeExpression*) _tmp474_, (ValaCCodeExpression*) _tmp475_); _vala_ccode_node_unref0 (_tmp474_); _tmp476_ = vala_ccode_identifier_new ("g_variant_iter_init"); _tmp477_ = _tmp476_; _tmp478_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp477_); _tmp479_ = _tmp478_; _vala_ccode_node_unref0 (_tmp477_); iter_init = _tmp479_; _tmp480_ = iter_init; _tmp481_ = vala_ccode_identifier_new ("_reply_iter"); _tmp482_ = _tmp481_; _tmp483_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp482_); _tmp484_ = _tmp483_; vala_ccode_function_call_add_argument (_tmp480_, (ValaCCodeExpression*) _tmp484_); _vala_ccode_node_unref0 (_tmp484_); _vala_ccode_node_unref0 (_tmp482_); _tmp485_ = iter_init; _tmp486_ = vala_ccode_identifier_new ("_reply"); _tmp487_ = _tmp486_; vala_ccode_function_call_add_argument (_tmp485_, (ValaCCodeExpression*) _tmp487_); _vala_ccode_node_unref0 (_tmp487_); _tmp488_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp489_ = _tmp488_; _tmp490_ = iter_init; vala_ccode_function_add_expression (_tmp489_, (ValaCCodeExpression*) _tmp490_); { ValaMethod* _tmp491_; ValaList* _tmp492_ = NULL; ValaList* _param_list; ValaList* _tmp493_; gint _tmp494_; gint _tmp495_; gint _param_size; gint _param_index; _tmp491_ = m; _tmp492_ = vala_method_get_parameters (_tmp491_); _param_list = _tmp492_; _tmp493_ = _param_list; _tmp494_ = vala_collection_get_size ((ValaCollection*) _tmp493_); _tmp495_ = _tmp494_; _param_size = _tmp495_; _param_index = -1; while (TRUE) { gint _tmp496_; gint _tmp497_; gint _tmp498_; ValaList* _tmp499_; gint _tmp500_; gpointer _tmp501_ = NULL; ValaParameter* param; ValaParameter* _tmp502_; ValaParameterDirection _tmp503_; ValaParameterDirection _tmp504_; _tmp496_ = _param_index; _param_index = _tmp496_ + 1; _tmp497_ = _param_index; _tmp498_ = _param_size; if (!(_tmp497_ < _tmp498_)) { break; } _tmp499_ = _param_list; _tmp500_ = _param_index; _tmp501_ = vala_list_get (_tmp499_, _tmp500_); param = (ValaParameter*) _tmp501_; _tmp502_ = param; _tmp503_ = vala_parameter_get_direction (_tmp502_); _tmp504_ = _tmp503_; if (_tmp504_ == VALA_PARAMETER_DIRECTION_OUT) { ValaCCodeFunction* _tmp505_; ValaCCodeFunction* _tmp506_; ValaParameter* _tmp507_; ValaDataType* _tmp508_; ValaDataType* _tmp509_; gchar* _tmp510_ = NULL; gchar* _tmp511_; ValaParameter* _tmp512_; const gchar* _tmp513_; const gchar* _tmp514_; gchar* _tmp515_; gchar* _tmp516_; ValaCCodeVariableDeclarator* _tmp517_; ValaCCodeVariableDeclarator* _tmp518_; ValaParameter* _tmp519_; ValaDataType* _tmp520_; ValaDataType* _tmp521_; ValaArrayType* _tmp522_; ValaArrayType* array_type; ValaArrayType* _tmp523_; ValaParameter* _tmp543_; const gchar* _tmp544_; const gchar* _tmp545_; gchar* _tmp546_; gchar* _tmp547_; ValaCCodeIdentifier* _tmp548_; ValaCCodeIdentifier* _tmp549_; ValaCCodeIdentifier* target; gboolean may_fail = FALSE; ValaParameter* _tmp550_; ValaDataType* _tmp551_; ValaDataType* _tmp552_; ValaCCodeIdentifier* _tmp553_; ValaCCodeIdentifier* _tmp554_; ValaCCodeIdentifier* _tmp555_; ValaCCodeIdentifier* _tmp556_; ValaCCodeIdentifier* _tmp557_; ValaParameter* _tmp558_; ValaCCodeIdentifier* _tmp559_; ValaCCodeIdentifier* _tmp560_; gboolean _tmp561_ = FALSE; ValaCCodeFunction* _tmp562_; ValaCCodeFunction* _tmp563_; ValaParameter* _tmp564_; const gchar* _tmp565_; const gchar* _tmp566_; gchar* _tmp567_ = NULL; gchar* _tmp568_; ValaCCodeIdentifier* _tmp569_; ValaCCodeIdentifier* _tmp570_; ValaCCodeUnaryExpression* _tmp571_; ValaCCodeUnaryExpression* _tmp572_; ValaCCodeIdentifier* _tmp573_; ValaArrayType* _tmp574_; gboolean _tmp602_; _tmp505_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp506_ = _tmp505_; _tmp507_ = param; _tmp508_ = vala_variable_get_variable_type ((ValaVariable*) _tmp507_); _tmp509_ = _tmp508_; _tmp510_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp509_); _tmp511_ = _tmp510_; _tmp512_ = param; _tmp513_ = vala_symbol_get_name ((ValaSymbol*) _tmp512_); _tmp514_ = _tmp513_; _tmp515_ = g_strconcat ("_vala_", _tmp514_, NULL); _tmp516_ = _tmp515_; _tmp517_ = vala_ccode_variable_declarator_new (_tmp516_, NULL, NULL); _tmp518_ = _tmp517_; vala_ccode_function_add_declaration (_tmp506_, _tmp511_, (ValaCCodeDeclarator*) _tmp518_, 0); _vala_ccode_node_unref0 (_tmp518_); _g_free0 (_tmp516_); _g_free0 (_tmp511_); _tmp519_ = param; _tmp520_ = vala_variable_get_variable_type ((ValaVariable*) _tmp519_); _tmp521_ = _tmp520_; _tmp522_ = _vala_code_node_ref0 (VALA_IS_ARRAY_TYPE (_tmp521_) ? ((ValaArrayType*) _tmp521_) : NULL); array_type = _tmp522_; _tmp523_ = array_type; if (_tmp523_ != NULL) { { gint dim; dim = 1; { gboolean _tmp524_; _tmp524_ = TRUE; while (TRUE) { gboolean _tmp525_; gint _tmp527_; ValaArrayType* _tmp528_; gint _tmp529_; gint _tmp530_; ValaCCodeFunction* _tmp531_; ValaCCodeFunction* _tmp532_; ValaParameter* _tmp533_; const gchar* _tmp534_; const gchar* _tmp535_; gint _tmp536_; gchar* _tmp537_ = NULL; gchar* _tmp538_; ValaCCodeConstant* _tmp539_; ValaCCodeConstant* _tmp540_; ValaCCodeVariableDeclarator* _tmp541_; ValaCCodeVariableDeclarator* _tmp542_; _tmp525_ = _tmp524_; if (!_tmp525_) { gint _tmp526_; _tmp526_ = dim; dim = _tmp526_ + 1; } _tmp524_ = FALSE; _tmp527_ = dim; _tmp528_ = array_type; _tmp529_ = vala_array_type_get_rank (_tmp528_); _tmp530_ = _tmp529_; if (!(_tmp527_ <= _tmp530_)) { break; } _tmp531_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp532_ = _tmp531_; _tmp533_ = param; _tmp534_ = vala_symbol_get_name ((ValaSymbol*) _tmp533_); _tmp535_ = _tmp534_; _tmp536_ = dim; _tmp537_ = g_strdup_printf ("_vala_%s_length%d", _tmp535_, _tmp536_); _tmp538_ = _tmp537_; _tmp539_ = vala_ccode_constant_new ("0"); _tmp540_ = _tmp539_; _tmp541_ = vala_ccode_variable_declarator_new (_tmp538_, (ValaCCodeExpression*) _tmp540_, NULL); _tmp542_ = _tmp541_; vala_ccode_function_add_declaration (_tmp532_, "int", (ValaCCodeDeclarator*) _tmp542_, 0); _vala_ccode_node_unref0 (_tmp542_); _vala_ccode_node_unref0 (_tmp540_); _g_free0 (_tmp538_); } } } } _tmp543_ = param; _tmp544_ = vala_symbol_get_name ((ValaSymbol*) _tmp543_); _tmp545_ = _tmp544_; _tmp546_ = g_strconcat ("_vala_", _tmp545_, NULL); _tmp547_ = _tmp546_; _tmp548_ = vala_ccode_identifier_new (_tmp547_); _tmp549_ = _tmp548_; _g_free0 (_tmp547_); target = _tmp549_; _tmp550_ = param; _tmp551_ = vala_variable_get_variable_type ((ValaVariable*) _tmp550_); _tmp552_ = _tmp551_; _tmp553_ = vala_ccode_identifier_new ("_reply_message"); _tmp554_ = _tmp553_; _tmp555_ = vala_ccode_identifier_new ("_reply_iter"); _tmp556_ = _tmp555_; _tmp557_ = target; _tmp558_ = param; _tmp559_ = vala_ccode_identifier_new ("error"); _tmp560_ = _tmp559_; vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp552_, (ValaCCodeExpression*) _tmp554_, (ValaCCodeExpression*) _tmp556_, (ValaCCodeExpression*) _tmp557_, (ValaSymbol*) _tmp558_, (ValaCCodeExpression*) _tmp560_, &_tmp561_); may_fail = _tmp561_; _vala_ccode_node_unref0 (_tmp560_); _vala_ccode_node_unref0 (_tmp556_); _vala_ccode_node_unref0 (_tmp554_); _tmp562_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp563_ = _tmp562_; _tmp564_ = param; _tmp565_ = vala_symbol_get_name ((ValaSymbol*) _tmp564_); _tmp566_ = _tmp565_; _tmp567_ = vala_ccode_base_module_get_variable_cname ((ValaCCodeBaseModule*) self, _tmp566_); _tmp568_ = _tmp567_; _tmp569_ = vala_ccode_identifier_new (_tmp568_); _tmp570_ = _tmp569_; _tmp571_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp570_); _tmp572_ = _tmp571_; _tmp573_ = target; vala_ccode_function_add_assignment (_tmp563_, (ValaCCodeExpression*) _tmp572_, (ValaCCodeExpression*) _tmp573_); _vala_ccode_node_unref0 (_tmp572_); _vala_ccode_node_unref0 (_tmp570_); _g_free0 (_tmp568_); _tmp574_ = array_type; if (_tmp574_ != NULL) { { gint dim; dim = 1; { gboolean _tmp575_; _tmp575_ = TRUE; while (TRUE) { gboolean _tmp576_; gint _tmp578_; ValaArrayType* _tmp579_; gint _tmp580_; gint _tmp581_; ValaCCodeFunction* _tmp582_; ValaCCodeFunction* _tmp583_; ValaParameter* _tmp584_; const gchar* _tmp585_; const gchar* _tmp586_; gint _tmp587_; gchar* _tmp588_ = NULL; gchar* _tmp589_; ValaCCodeIdentifier* _tmp590_; ValaCCodeIdentifier* _tmp591_; ValaCCodeUnaryExpression* _tmp592_; ValaCCodeUnaryExpression* _tmp593_; ValaParameter* _tmp594_; const gchar* _tmp595_; const gchar* _tmp596_; gint _tmp597_; gchar* _tmp598_ = NULL; gchar* _tmp599_; ValaCCodeIdentifier* _tmp600_; ValaCCodeIdentifier* _tmp601_; _tmp576_ = _tmp575_; if (!_tmp576_) { gint _tmp577_; _tmp577_ = dim; dim = _tmp577_ + 1; } _tmp575_ = FALSE; _tmp578_ = dim; _tmp579_ = array_type; _tmp580_ = vala_array_type_get_rank (_tmp579_); _tmp581_ = _tmp580_; if (!(_tmp578_ <= _tmp581_)) { break; } _tmp582_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp583_ = _tmp582_; _tmp584_ = param; _tmp585_ = vala_symbol_get_name ((ValaSymbol*) _tmp584_); _tmp586_ = _tmp585_; _tmp587_ = dim; _tmp588_ = g_strdup_printf ("%s_length%d", _tmp586_, _tmp587_); _tmp589_ = _tmp588_; _tmp590_ = vala_ccode_identifier_new (_tmp589_); _tmp591_ = _tmp590_; _tmp592_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp591_); _tmp593_ = _tmp592_; _tmp594_ = param; _tmp595_ = vala_symbol_get_name ((ValaSymbol*) _tmp594_); _tmp596_ = _tmp595_; _tmp597_ = dim; _tmp598_ = g_strdup_printf ("_vala_%s_length%d", _tmp596_, _tmp597_); _tmp599_ = _tmp598_; _tmp600_ = vala_ccode_identifier_new (_tmp599_); _tmp601_ = _tmp600_; vala_ccode_function_add_assignment (_tmp583_, (ValaCCodeExpression*) _tmp593_, (ValaCCodeExpression*) _tmp601_); _vala_ccode_node_unref0 (_tmp601_); _g_free0 (_tmp599_); _vala_ccode_node_unref0 (_tmp593_); _vala_ccode_node_unref0 (_tmp591_); _g_free0 (_tmp589_); } } } } _tmp602_ = may_fail; if (_tmp602_) { ValaCCodeFunction* _tmp603_; ValaCCodeFunction* _tmp604_; ValaCCodeIdentifier* _tmp605_; ValaCCodeIdentifier* _tmp606_; ValaCCodeIdentifier* _tmp607_; ValaCCodeIdentifier* _tmp608_; ValaCCodeUnaryExpression* _tmp609_; ValaCCodeUnaryExpression* _tmp610_; ValaCCodeBinaryExpression* _tmp611_; ValaCCodeBinaryExpression* _tmp612_; ValaCCodeFunction* _tmp613_; ValaCCodeFunction* _tmp614_; ValaCCodeFunctionCall* _tmp615_; ValaMethod* _tmp616_; ValaDataType* _tmp617_; ValaDataType* _tmp618_; ValaCCodeFunction* _tmp619_; ValaCCodeFunction* _tmp620_; _tmp603_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp604_ = _tmp603_; _tmp605_ = vala_ccode_identifier_new ("error"); _tmp606_ = _tmp605_; _tmp607_ = vala_ccode_identifier_new ("error"); _tmp608_ = _tmp607_; _tmp609_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp608_); _tmp610_ = _tmp609_; _tmp611_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_AND, (ValaCCodeExpression*) _tmp606_, (ValaCCodeExpression*) _tmp610_); _tmp612_ = _tmp611_; vala_ccode_function_open_if (_tmp604_, (ValaCCodeExpression*) _tmp612_); _vala_ccode_node_unref0 (_tmp612_); _vala_ccode_node_unref0 (_tmp610_); _vala_ccode_node_unref0 (_tmp608_); _vala_ccode_node_unref0 (_tmp606_); _tmp613_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp614_ = _tmp613_; _tmp615_ = unref_reply; vala_ccode_function_add_expression (_tmp614_, (ValaCCodeExpression*) _tmp615_); _tmp616_ = m; _tmp617_ = vala_method_get_return_type (_tmp616_); _tmp618_ = _tmp617_; vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp618_); _tmp619_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp620_ = _tmp619_; vala_ccode_function_close (_tmp620_); } _vala_ccode_node_unref0 (target); _vala_code_node_unref0 (array_type); } _vala_code_node_unref0 (param); } _vala_iterable_unref0 (_param_list); } _tmp621_ = m; _tmp622_ = vala_method_get_return_type (_tmp621_); _tmp623_ = _tmp622_; if (!VALA_IS_VOID_TYPE (_tmp623_)) { ValaMethod* _tmp624_; ValaDataType* _tmp625_; ValaDataType* _tmp626_; gboolean _tmp627_ = FALSE; _tmp624_ = m; _tmp625_ = vala_method_get_return_type (_tmp624_); _tmp626_ = _tmp625_; _tmp627_ = vala_data_type_is_real_non_null_struct_type (_tmp626_); if (_tmp627_) { ValaCCodeIdentifier* _tmp628_; ValaCCodeIdentifier* _tmp629_; ValaCCodeUnaryExpression* _tmp630_; ValaCCodeUnaryExpression* _tmp631_; ValaCCodeUnaryExpression* target; ValaMethod* _tmp632_; ValaDataType* _tmp633_; ValaDataType* _tmp634_; ValaCCodeIdentifier* _tmp635_; ValaCCodeIdentifier* _tmp636_; ValaCCodeIdentifier* _tmp637_; ValaCCodeIdentifier* _tmp638_; ValaCCodeUnaryExpression* _tmp639_; ValaMethod* _tmp640_; _tmp628_ = vala_ccode_identifier_new ("result"); _tmp629_ = _tmp628_; _tmp630_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp629_); _tmp631_ = _tmp630_; _vala_ccode_node_unref0 (_tmp629_); target = _tmp631_; _tmp632_ = m; _tmp633_ = vala_method_get_return_type (_tmp632_); _tmp634_ = _tmp633_; _tmp635_ = vala_ccode_identifier_new ("_reply_message"); _tmp636_ = _tmp635_; _tmp637_ = vala_ccode_identifier_new ("_reply_iter"); _tmp638_ = _tmp637_; _tmp639_ = target; _tmp640_ = m; vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp634_, (ValaCCodeExpression*) _tmp636_, (ValaCCodeExpression*) _tmp638_, (ValaCCodeExpression*) _tmp639_, (ValaSymbol*) _tmp640_, NULL, NULL); _vala_ccode_node_unref0 (_tmp638_); _vala_ccode_node_unref0 (_tmp636_); _vala_ccode_node_unref0 (target); } else { ValaCCodeFunction* _tmp641_; ValaCCodeFunction* _tmp642_; ValaMethod* _tmp643_; ValaDataType* _tmp644_; ValaDataType* _tmp645_; gchar* _tmp646_ = NULL; gchar* _tmp647_; ValaCCodeVariableDeclarator* _tmp648_; ValaCCodeVariableDeclarator* _tmp649_; ValaMethod* _tmp650_; ValaDataType* _tmp651_; ValaDataType* _tmp652_; ValaArrayType* _tmp653_; ValaArrayType* array_type; ValaArrayType* _tmp654_; gboolean may_fail = FALSE; ValaMethod* _tmp671_; ValaDataType* _tmp672_; ValaDataType* _tmp673_; ValaCCodeIdentifier* _tmp674_; ValaCCodeIdentifier* _tmp675_; ValaCCodeIdentifier* _tmp676_; ValaCCodeIdentifier* _tmp677_; ValaCCodeIdentifier* _tmp678_; ValaCCodeIdentifier* _tmp679_; ValaMethod* _tmp680_; ValaCCodeIdentifier* _tmp681_; ValaCCodeIdentifier* _tmp682_; gboolean _tmp683_ = FALSE; ValaArrayType* _tmp684_; gboolean _tmp706_; _tmp641_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp642_ = _tmp641_; _tmp643_ = m; _tmp644_ = vala_method_get_return_type (_tmp643_); _tmp645_ = _tmp644_; _tmp646_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp645_); _tmp647_ = _tmp646_; _tmp648_ = vala_ccode_variable_declarator_new ("_result", NULL, NULL); _tmp649_ = _tmp648_; vala_ccode_function_add_declaration (_tmp642_, _tmp647_, (ValaCCodeDeclarator*) _tmp649_, 0); _vala_ccode_node_unref0 (_tmp649_); _g_free0 (_tmp647_); _tmp650_ = m; _tmp651_ = vala_method_get_return_type (_tmp650_); _tmp652_ = _tmp651_; _tmp653_ = _vala_code_node_ref0 (VALA_IS_ARRAY_TYPE (_tmp652_) ? ((ValaArrayType*) _tmp652_) : NULL); array_type = _tmp653_; _tmp654_ = array_type; if (_tmp654_ != NULL) { { gint dim; dim = 1; { gboolean _tmp655_; _tmp655_ = TRUE; while (TRUE) { gboolean _tmp656_; gint _tmp658_; ValaArrayType* _tmp659_; gint _tmp660_; gint _tmp661_; ValaCCodeFunction* _tmp662_; ValaCCodeFunction* _tmp663_; gint _tmp664_; gchar* _tmp665_ = NULL; gchar* _tmp666_; ValaCCodeConstant* _tmp667_; ValaCCodeConstant* _tmp668_; ValaCCodeVariableDeclarator* _tmp669_; ValaCCodeVariableDeclarator* _tmp670_; _tmp656_ = _tmp655_; if (!_tmp656_) { gint _tmp657_; _tmp657_ = dim; dim = _tmp657_ + 1; } _tmp655_ = FALSE; _tmp658_ = dim; _tmp659_ = array_type; _tmp660_ = vala_array_type_get_rank (_tmp659_); _tmp661_ = _tmp660_; if (!(_tmp658_ <= _tmp661_)) { break; } _tmp662_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp663_ = _tmp662_; _tmp664_ = dim; _tmp665_ = g_strdup_printf ("_result_length%d", _tmp664_); _tmp666_ = _tmp665_; _tmp667_ = vala_ccode_constant_new ("0"); _tmp668_ = _tmp667_; _tmp669_ = vala_ccode_variable_declarator_new (_tmp666_, (ValaCCodeExpression*) _tmp668_, NULL); _tmp670_ = _tmp669_; vala_ccode_function_add_declaration (_tmp663_, "int", (ValaCCodeDeclarator*) _tmp670_, 0); _vala_ccode_node_unref0 (_tmp670_); _vala_ccode_node_unref0 (_tmp668_); _g_free0 (_tmp666_); } } } } _tmp671_ = m; _tmp672_ = vala_method_get_return_type (_tmp671_); _tmp673_ = _tmp672_; _tmp674_ = vala_ccode_identifier_new ("_reply_message"); _tmp675_ = _tmp674_; _tmp676_ = vala_ccode_identifier_new ("_reply_iter"); _tmp677_ = _tmp676_; _tmp678_ = vala_ccode_identifier_new ("_result"); _tmp679_ = _tmp678_; _tmp680_ = m; _tmp681_ = vala_ccode_identifier_new ("error"); _tmp682_ = _tmp681_; vala_gd_bus_module_receive_dbus_value ((ValaGDBusModule*) self, _tmp673_, (ValaCCodeExpression*) _tmp675_, (ValaCCodeExpression*) _tmp677_, (ValaCCodeExpression*) _tmp679_, (ValaSymbol*) _tmp680_, (ValaCCodeExpression*) _tmp682_, &_tmp683_); may_fail = _tmp683_; _vala_ccode_node_unref0 (_tmp682_); _vala_ccode_node_unref0 (_tmp679_); _vala_ccode_node_unref0 (_tmp677_); _vala_ccode_node_unref0 (_tmp675_); _tmp684_ = array_type; if (_tmp684_ != NULL) { { gint dim; dim = 1; { gboolean _tmp685_; _tmp685_ = TRUE; while (TRUE) { gboolean _tmp686_; gint _tmp688_; ValaArrayType* _tmp689_; gint _tmp690_; gint _tmp691_; ValaCCodeFunction* _tmp692_; ValaCCodeFunction* _tmp693_; gint _tmp694_; gchar* _tmp695_ = NULL; gchar* _tmp696_; ValaCCodeIdentifier* _tmp697_; ValaCCodeIdentifier* _tmp698_; ValaCCodeUnaryExpression* _tmp699_; ValaCCodeUnaryExpression* _tmp700_; gint _tmp701_; gchar* _tmp702_ = NULL; gchar* _tmp703_; ValaCCodeIdentifier* _tmp704_; ValaCCodeIdentifier* _tmp705_; _tmp686_ = _tmp685_; if (!_tmp686_) { gint _tmp687_; _tmp687_ = dim; dim = _tmp687_ + 1; } _tmp685_ = FALSE; _tmp688_ = dim; _tmp689_ = array_type; _tmp690_ = vala_array_type_get_rank (_tmp689_); _tmp691_ = _tmp690_; if (!(_tmp688_ <= _tmp691_)) { break; } _tmp692_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp693_ = _tmp692_; _tmp694_ = dim; _tmp695_ = g_strdup_printf ("result_length%d", _tmp694_); _tmp696_ = _tmp695_; _tmp697_ = vala_ccode_identifier_new (_tmp696_); _tmp698_ = _tmp697_; _tmp699_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp698_); _tmp700_ = _tmp699_; _tmp701_ = dim; _tmp702_ = g_strdup_printf ("_result_length%d", _tmp701_); _tmp703_ = _tmp702_; _tmp704_ = vala_ccode_identifier_new (_tmp703_); _tmp705_ = _tmp704_; vala_ccode_function_add_assignment (_tmp693_, (ValaCCodeExpression*) _tmp700_, (ValaCCodeExpression*) _tmp705_); _vala_ccode_node_unref0 (_tmp705_); _g_free0 (_tmp703_); _vala_ccode_node_unref0 (_tmp700_); _vala_ccode_node_unref0 (_tmp698_); _g_free0 (_tmp696_); } } } } _tmp706_ = may_fail; if (_tmp706_) { ValaCCodeFunction* _tmp707_; ValaCCodeFunction* _tmp708_; ValaCCodeIdentifier* _tmp709_; ValaCCodeIdentifier* _tmp710_; ValaCCodeIdentifier* _tmp711_; ValaCCodeIdentifier* _tmp712_; ValaCCodeUnaryExpression* _tmp713_; ValaCCodeUnaryExpression* _tmp714_; ValaCCodeBinaryExpression* _tmp715_; ValaCCodeBinaryExpression* _tmp716_; ValaCCodeFunction* _tmp717_; ValaCCodeFunction* _tmp718_; ValaCCodeFunctionCall* _tmp719_; ValaMethod* _tmp720_; ValaDataType* _tmp721_; ValaDataType* _tmp722_; ValaCCodeFunction* _tmp723_; ValaCCodeFunction* _tmp724_; _tmp707_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp708_ = _tmp707_; _tmp709_ = vala_ccode_identifier_new ("error"); _tmp710_ = _tmp709_; _tmp711_ = vala_ccode_identifier_new ("error"); _tmp712_ = _tmp711_; _tmp713_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp712_); _tmp714_ = _tmp713_; _tmp715_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_AND, (ValaCCodeExpression*) _tmp710_, (ValaCCodeExpression*) _tmp714_); _tmp716_ = _tmp715_; vala_ccode_function_open_if (_tmp708_, (ValaCCodeExpression*) _tmp716_); _vala_ccode_node_unref0 (_tmp716_); _vala_ccode_node_unref0 (_tmp714_); _vala_ccode_node_unref0 (_tmp712_); _vala_ccode_node_unref0 (_tmp710_); _tmp717_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp718_ = _tmp717_; _tmp719_ = unref_reply; vala_ccode_function_add_expression (_tmp718_, (ValaCCodeExpression*) _tmp719_); _tmp720_ = m; _tmp721_ = vala_method_get_return_type (_tmp720_); _tmp722_ = _tmp721_; vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp722_); _tmp723_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp724_ = _tmp723_; vala_ccode_function_close (_tmp724_); } _vala_code_node_unref0 (array_type); } } _vala_ccode_node_unref0 (iter_init); } _tmp725_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp726_ = _tmp725_; _tmp727_ = unref_reply; vala_ccode_function_add_expression (_tmp726_, (ValaCCodeExpression*) _tmp727_); _tmp729_ = m; _tmp730_ = vala_method_get_return_type (_tmp729_); _tmp731_ = _tmp730_; if (VALA_IS_VOID_TYPE (_tmp731_)) { _tmp728_ = TRUE; } else { ValaMethod* _tmp732_; ValaDataType* _tmp733_; ValaDataType* _tmp734_; gboolean _tmp735_ = FALSE; _tmp732_ = m; _tmp733_ = vala_method_get_return_type (_tmp732_); _tmp734_ = _tmp733_; _tmp735_ = vala_data_type_is_real_non_null_struct_type (_tmp734_); _tmp728_ = _tmp735_; } _tmp736_ = _tmp728_; if (!_tmp736_) { ValaCCodeFunction* _tmp737_; ValaCCodeFunction* _tmp738_; ValaCCodeIdentifier* _tmp739_; ValaCCodeIdentifier* _tmp740_; _tmp737_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp738_ = _tmp737_; _tmp739_ = vala_ccode_identifier_new ("_result"); _tmp740_ = _tmp739_; vala_ccode_function_add_return (_tmp738_, (ValaCCodeExpression*) _tmp740_); _vala_ccode_node_unref0 (_tmp740_); } _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (reply_is_null); _vala_ccode_node_unref0 (unref_reply); } _vala_ccode_node_unref0 (connection); _vala_ccode_node_unref0 (gdbusproxy); } static gchar* vala_gd_bus_client_module_generate_dbus_proxy_method (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaMethod* m) { gchar* result = NULL; ValaInterface* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; ValaMethod* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* proxy_name; ValaInterface* _tmp8_; gchar* _tmp9_ = NULL; gchar* dbus_iface_name; ValaMethod* _tmp10_; gboolean _tmp11_ = FALSE; gboolean no_reply; const gchar* _tmp12_; ValaCCodeFunction* _tmp13_; ValaCCodeFunction* function; ValaCCodeFunction* _tmp14_; GHashFunc _tmp15_; GEqualFunc _tmp16_; GEqualFunc _tmp17_; ValaHashMap* _tmp18_; ValaHashMap* cparam_map; ValaMethod* _tmp19_; ValaCCodeFile* _tmp20_; ValaHashMap* _tmp21_; ValaCCodeFunction* _tmp22_; ValaCCodeFunction* _tmp23_; ValaGDBusClientModuleCallType _tmp24_ = 0; gboolean _tmp25_; ValaMethod* _tmp26_; ValaGDBusClientModuleCallType _tmp27_; const gchar* _tmp28_; ValaMethod* _tmp29_; gchar* _tmp30_ = NULL; gchar* _tmp31_; ValaCCodeFile* _tmp32_; ValaCCodeFunction* _tmp33_; ValaCCodeFile* _tmp34_; ValaCCodeFunction* _tmp35_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (main_iface != NULL, NULL); g_return_val_if_fail (iface != NULL, NULL); g_return_val_if_fail (m != NULL, NULL); _tmp0_ = main_iface; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = m; _tmp4_ = vala_symbol_get_name ((ValaSymbol*) _tmp3_); _tmp5_ = _tmp4_; _tmp6_ = g_strdup_printf ("%sproxy_%s", _tmp2_, _tmp5_); _tmp7_ = _tmp6_; _g_free0 (_tmp2_); proxy_name = _tmp7_; _tmp8_ = iface; _tmp9_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp8_); dbus_iface_name = _tmp9_; _tmp10_ = m; _tmp11_ = vala_gd_bus_module_is_dbus_no_reply (_tmp10_); no_reply = _tmp11_; _tmp12_ = proxy_name; _tmp13_ = vala_ccode_function_new (_tmp12_, "void"); function = _tmp13_; _tmp14_ = function; vala_ccode_function_set_modifiers (_tmp14_, VALA_CCODE_MODIFIERS_STATIC); _tmp15_ = g_direct_hash; _tmp16_ = g_direct_equal; _tmp17_ = g_direct_equal; _tmp18_ = vala_hash_map_new (G_TYPE_INT, NULL, NULL, VALA_TYPE_CCODE_PARAMETER, (GBoxedCopyFunc) vala_ccode_node_ref, vala_ccode_node_unref, _tmp15_, _tmp16_, _tmp17_); cparam_map = _tmp18_; _tmp19_ = m; _tmp20_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp21_ = cparam_map; _tmp22_ = function; vala_ccode_base_module_generate_cparameters ((ValaCCodeBaseModule*) self, _tmp19_, _tmp20_, (ValaMap*) _tmp21_, _tmp22_, NULL, NULL, NULL, 3); _tmp23_ = function; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp23_); _tmp25_ = no_reply; if (_tmp25_) { _tmp24_ = VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_NO_REPLY; } else { _tmp24_ = VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_SYNC; } _tmp26_ = m; _tmp27_ = _tmp24_; _tmp28_ = dbus_iface_name; _tmp29_ = m; _tmp30_ = vala_gd_bus_module_get_dbus_name_for_member ((ValaSymbol*) _tmp29_); _tmp31_ = _tmp30_; vala_gd_bus_client_module_generate_marshalling (self, _tmp26_, _tmp27_, _tmp28_, _tmp31_); _g_free0 (_tmp31_); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp32_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp33_ = function; vala_ccode_file_add_function_declaration (_tmp32_, _tmp33_); _tmp34_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp35_ = function; vala_ccode_file_add_function (_tmp34_, _tmp35_); result = proxy_name; _vala_map_unref0 (cparam_map); _vala_ccode_node_unref0 (function); _g_free0 (dbus_iface_name); return result; } static gchar* vala_gd_bus_client_module_generate_async_dbus_proxy_method (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaMethod* m) { gchar* result = NULL; ValaInterface* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; ValaMethod* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* proxy_name; ValaInterface* _tmp8_; gchar* _tmp9_ = NULL; gchar* dbus_iface_name; ValaCCodeFunction* _tmp10_; ValaCCodeFunction* function; GHashFunc _tmp11_; GEqualFunc _tmp12_; GEqualFunc _tmp13_; ValaHashMap* _tmp14_; ValaHashMap* cparam_map; gint _tmp15_ = 0; ValaCCodeParameter* _tmp16_; ValaCCodeParameter* _tmp17_; gint _tmp18_ = 0; ValaCCodeParameter* _tmp19_; ValaCCodeParameter* _tmp20_; ValaMethod* _tmp21_; ValaCCodeFile* _tmp22_; ValaMethod* _tmp23_; ValaMethod* _tmp24_; gchar* _tmp25_ = NULL; gchar* _tmp26_; ValaCCodeFile* _tmp27_; ValaCCodeFile* _tmp28_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (main_iface != NULL, NULL); g_return_val_if_fail (iface != NULL, NULL); g_return_val_if_fail (m != NULL, NULL); _tmp0_ = main_iface; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = m; _tmp4_ = vala_symbol_get_name ((ValaSymbol*) _tmp3_); _tmp5_ = _tmp4_; _tmp6_ = g_strdup_printf ("%sproxy_%s_async", _tmp2_, _tmp5_); _tmp7_ = _tmp6_; _g_free0 (_tmp2_); proxy_name = _tmp7_; _tmp8_ = iface; _tmp9_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp8_); dbus_iface_name = _tmp9_; _tmp10_ = vala_ccode_function_new (proxy_name, "void"); function = _tmp10_; vala_ccode_function_set_modifiers (function, VALA_CCODE_MODIFIERS_STATIC); _tmp11_ = g_direct_hash; _tmp12_ = g_direct_equal; _tmp13_ = g_direct_equal; _tmp14_ = vala_hash_map_new (G_TYPE_INT, NULL, NULL, VALA_TYPE_CCODE_PARAMETER, (GBoxedCopyFunc) vala_ccode_node_ref, vala_ccode_node_unref, _tmp11_, _tmp12_, _tmp13_); cparam_map = _tmp14_; _tmp15_ = vala_ccode_base_module_get_param_pos ((ValaCCodeBaseModule*) self, (gdouble) (-1), FALSE); _tmp16_ = vala_ccode_parameter_new ("_callback_", "GAsyncReadyCallback"); _tmp17_ = _tmp16_; vala_map_set ((ValaMap*) cparam_map, GINT_TO_POINTER (_tmp15_), _tmp17_); _vala_ccode_node_unref0 (_tmp17_); _tmp18_ = vala_ccode_base_module_get_param_pos ((ValaCCodeBaseModule*) self, -0.9, FALSE); _tmp19_ = vala_ccode_parameter_new ("_user_data_", "gpointer"); _tmp20_ = _tmp19_; vala_map_set ((ValaMap*) cparam_map, GINT_TO_POINTER (_tmp18_), _tmp20_); _vala_ccode_node_unref0 (_tmp20_); _tmp21_ = m; _tmp22_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_base_module_generate_cparameters ((ValaCCodeBaseModule*) self, _tmp21_, _tmp22_, (ValaMap*) cparam_map, function, NULL, NULL, NULL, 1); vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, function); _tmp23_ = m; _tmp24_ = m; _tmp25_ = vala_gd_bus_module_get_dbus_name_for_member ((ValaSymbol*) _tmp24_); _tmp26_ = _tmp25_; vala_gd_bus_client_module_generate_marshalling (self, _tmp23_, VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_ASYNC, dbus_iface_name, _tmp26_); _g_free0 (_tmp26_); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp27_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_function_declaration (_tmp27_, function); _tmp28_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_function (_tmp28_, function); result = proxy_name; _vala_map_unref0 (cparam_map); _vala_ccode_node_unref0 (function); _g_free0 (dbus_iface_name); return result; } static gchar* vala_gd_bus_client_module_generate_finish_dbus_proxy_method (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaMethod* m) { gchar* result = NULL; ValaInterface* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; ValaMethod* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* proxy_name; ValaCCodeFunction* _tmp8_; ValaCCodeFunction* function; GHashFunc _tmp9_; GEqualFunc _tmp10_; GEqualFunc _tmp11_; ValaHashMap* _tmp12_; ValaHashMap* cparam_map; gint _tmp13_ = 0; ValaCCodeParameter* _tmp14_; ValaCCodeParameter* _tmp15_; ValaMethod* _tmp16_; ValaCCodeFile* _tmp17_; ValaMethod* _tmp18_; ValaCCodeFile* _tmp19_; ValaCCodeFile* _tmp20_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (main_iface != NULL, NULL); g_return_val_if_fail (iface != NULL, NULL); g_return_val_if_fail (m != NULL, NULL); _tmp0_ = main_iface; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = m; _tmp4_ = vala_symbol_get_name ((ValaSymbol*) _tmp3_); _tmp5_ = _tmp4_; _tmp6_ = g_strdup_printf ("%sproxy_%s_finish", _tmp2_, _tmp5_); _tmp7_ = _tmp6_; _g_free0 (_tmp2_); proxy_name = _tmp7_; _tmp8_ = vala_ccode_function_new (proxy_name, "void"); function = _tmp8_; vala_ccode_function_set_modifiers (function, VALA_CCODE_MODIFIERS_STATIC); _tmp9_ = g_direct_hash; _tmp10_ = g_direct_equal; _tmp11_ = g_direct_equal; _tmp12_ = vala_hash_map_new (G_TYPE_INT, NULL, NULL, VALA_TYPE_CCODE_PARAMETER, (GBoxedCopyFunc) vala_ccode_node_ref, vala_ccode_node_unref, _tmp9_, _tmp10_, _tmp11_); cparam_map = _tmp12_; _tmp13_ = vala_ccode_base_module_get_param_pos ((ValaCCodeBaseModule*) self, 0.1, FALSE); _tmp14_ = vala_ccode_parameter_new ("_res_", "GAsyncResult*"); _tmp15_ = _tmp14_; vala_map_set ((ValaMap*) cparam_map, GINT_TO_POINTER (_tmp13_), _tmp15_); _vala_ccode_node_unref0 (_tmp15_); _tmp16_ = m; _tmp17_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_base_module_generate_cparameters ((ValaCCodeBaseModule*) self, _tmp16_, _tmp17_, (ValaMap*) cparam_map, function, NULL, NULL, NULL, 2); vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, function); _tmp18_ = m; vala_gd_bus_client_module_generate_marshalling (self, _tmp18_, VALA_GD_BUS_CLIENT_MODULE_CALL_TYPE_FINISH, NULL, NULL); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp19_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_function_declaration (_tmp19_, function); _tmp20_ = ((ValaCCodeBaseModule*) self)->cfile; vala_ccode_file_add_function (_tmp20_, function); result = proxy_name; _vala_map_unref0 (cparam_map); _vala_ccode_node_unref0 (function); return result; } static gchar* vala_gd_bus_client_module_generate_dbus_proxy_property_get (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaProperty* prop) { gchar* result = NULL; ValaInterface* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; ValaProperty* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* proxy_name; ValaInterface* _tmp8_; gchar* _tmp9_ = NULL; gchar* dbus_iface_name; ValaProperty* _tmp10_; ValaPropertyAccessor* _tmp11_; ValaPropertyAccessor* _tmp12_; ValaDataType* _tmp13_; ValaDataType* _tmp14_; ValaDataType* _tmp15_ = NULL; ValaDataType* owned_type; ValaDataType* _tmp16_; gboolean _tmp17_ = FALSE; ValaDataType* _tmp18_; gboolean _tmp19_ = FALSE; gboolean _tmp27_; ValaProperty* _tmp35_; ValaPropertyAccessor* _tmp36_; ValaPropertyAccessor* _tmp37_; ValaDataType* _tmp38_; ValaDataType* _tmp39_; ValaArrayType* _tmp40_; ValaArrayType* array_type; const gchar* _tmp41_; ValaCCodeFunction* _tmp42_; ValaCCodeFunction* function; ValaCCodeFunction* _tmp43_; ValaCCodeFunction* _tmp44_; ValaInterface* _tmp45_; gchar* _tmp46_ = NULL; gchar* _tmp47_; gchar* _tmp48_ = NULL; gchar* _tmp49_; ValaCCodeParameter* _tmp50_; ValaCCodeParameter* _tmp51_; ValaProperty* _tmp52_; ValaDataType* _tmp53_; ValaDataType* _tmp54_; gboolean _tmp55_ = FALSE; ValaCCodeFunction* _tmp90_; ValaCCodeFunction* _tmp91_; ValaCCodeFunction* _tmp92_; ValaCCodeVariableDeclarator* _tmp93_; ValaCCodeVariableDeclarator* _tmp94_; ValaCCodeIdentifier* _tmp95_; ValaCCodeIdentifier* _tmp96_; ValaCCodeFunctionCall* _tmp97_; ValaCCodeFunctionCall* _tmp98_; ValaCCodeFunctionCall* ccall; ValaCCodeFunctionCall* _tmp99_; ValaCCodeIdentifier* _tmp100_; ValaCCodeIdentifier* _tmp101_; ValaCCodeCastExpression* _tmp102_; ValaCCodeCastExpression* _tmp103_; ValaCCodeFunctionCall* _tmp104_; ValaProperty* _tmp105_; gchar* _tmp106_ = NULL; gchar* _tmp107_; gchar* _tmp108_ = NULL; gchar* _tmp109_; ValaCCodeConstant* _tmp110_; ValaCCodeConstant* _tmp111_; ValaCCodeFunction* _tmp112_; ValaCCodeFunction* _tmp113_; ValaCCodeIdentifier* _tmp114_; ValaCCodeIdentifier* _tmp115_; ValaCCodeFunctionCall* _tmp116_; ValaCCodeFunction* _tmp117_; ValaCCodeFunction* _tmp118_; ValaCCodeIdentifier* _tmp119_; ValaCCodeIdentifier* _tmp120_; ValaCCodeUnaryExpression* _tmp121_; ValaCCodeUnaryExpression* _tmp122_; ValaCCodeFunction* _tmp123_; ValaCCodeFunction* _tmp124_; ValaCCodeVariableDeclarator* _tmp125_; ValaCCodeVariableDeclarator* _tmp126_; ValaCCodeFunction* _tmp127_; ValaCCodeFunction* _tmp128_; ValaCCodeVariableDeclarator* _tmp129_; ValaCCodeVariableDeclarator* _tmp130_; ValaCCodeFunction* _tmp131_; ValaCCodeFunction* _tmp132_; ValaCCodeVariableDeclarator* _tmp133_; ValaCCodeVariableDeclarator* _tmp134_; ValaCCodeIdentifier* _tmp135_; ValaCCodeIdentifier* _tmp136_; ValaCCodeFunctionCall* _tmp137_; ValaCCodeFunctionCall* _tmp138_; ValaCCodeFunctionCall* builder_init; ValaCCodeFunctionCall* _tmp139_; ValaCCodeIdentifier* _tmp140_; ValaCCodeIdentifier* _tmp141_; ValaCCodeUnaryExpression* _tmp142_; ValaCCodeUnaryExpression* _tmp143_; ValaCCodeFunctionCall* _tmp144_; ValaCCodeIdentifier* _tmp145_; ValaCCodeIdentifier* _tmp146_; ValaCCodeFunction* _tmp147_; ValaCCodeFunction* _tmp148_; ValaCCodeFunctionCall* _tmp149_; ValaDataType* _tmp150_; ValaCCodeIdentifier* _tmp151_; ValaCCodeIdentifier* _tmp152_; const gchar* _tmp153_; gchar* _tmp154_ = NULL; gchar* _tmp155_; ValaCCodeConstant* _tmp156_; ValaCCodeConstant* _tmp157_; ValaDataType* _tmp158_; ValaCCodeIdentifier* _tmp159_; ValaCCodeIdentifier* _tmp160_; ValaProperty* _tmp161_; gchar* _tmp162_ = NULL; gchar* _tmp163_; gchar* _tmp164_ = NULL; gchar* _tmp165_; ValaCCodeConstant* _tmp166_; ValaCCodeConstant* _tmp167_; ValaCCodeIdentifier* _tmp168_; ValaCCodeIdentifier* _tmp169_; ValaCCodeFunctionCall* _tmp170_; ValaCCodeFunctionCall* _tmp171_; ValaCCodeFunctionCall* builder_end; ValaCCodeFunctionCall* _tmp172_; ValaCCodeIdentifier* _tmp173_; ValaCCodeIdentifier* _tmp174_; ValaCCodeUnaryExpression* _tmp175_; ValaCCodeUnaryExpression* _tmp176_; ValaCCodeFunction* _tmp177_; ValaCCodeFunction* _tmp178_; ValaCCodeIdentifier* _tmp179_; ValaCCodeIdentifier* _tmp180_; ValaCCodeFunctionCall* _tmp181_; ValaCCodeIdentifier* _tmp182_; ValaCCodeIdentifier* _tmp183_; ValaCCodeFunctionCall* _tmp184_; ValaCCodeFunctionCall* _tmp185_; ValaCCodeIdentifier* _tmp186_; ValaCCodeIdentifier* _tmp187_; ValaCCodeCastExpression* _tmp188_; ValaCCodeCastExpression* _tmp189_; ValaCCodeFunctionCall* _tmp190_; ValaCCodeConstant* _tmp191_; ValaCCodeConstant* _tmp192_; ValaCCodeFunctionCall* _tmp193_; ValaCCodeIdentifier* _tmp194_; ValaCCodeIdentifier* _tmp195_; ValaCCodeFunctionCall* _tmp196_; ValaCCodeConstant* _tmp197_; ValaCCodeConstant* _tmp198_; ValaCCodeFunctionCall* _tmp199_; ValaProperty* _tmp200_; ValaCCodeConstant* _tmp201_ = NULL; ValaCCodeConstant* _tmp202_; ValaCCodeFunctionCall* _tmp203_; ValaCCodeConstant* _tmp204_; ValaCCodeConstant* _tmp205_; ValaCCodeFunctionCall* _tmp206_; ValaCCodeConstant* _tmp207_; ValaCCodeConstant* _tmp208_; ValaCCodeFunction* _tmp209_; ValaCCodeFunction* _tmp210_; ValaCCodeIdentifier* _tmp211_; ValaCCodeIdentifier* _tmp212_; ValaCCodeFunctionCall* _tmp213_; ValaCCodeFunction* _tmp214_; ValaCCodeFunction* _tmp215_; ValaCCodeIdentifier* _tmp216_; ValaCCodeIdentifier* _tmp217_; ValaCCodeUnaryExpression* _tmp218_; ValaCCodeUnaryExpression* _tmp219_; ValaProperty* _tmp220_; ValaDataType* _tmp221_; ValaDataType* _tmp222_; ValaCCodeFunction* _tmp223_; ValaCCodeFunction* _tmp224_; ValaCCodeIdentifier* _tmp225_; ValaCCodeIdentifier* _tmp226_; ValaCCodeFunctionCall* _tmp227_; ValaCCodeFunctionCall* _tmp228_; ValaCCodeFunctionCall* get_variant; ValaCCodeFunctionCall* _tmp229_; ValaCCodeIdentifier* _tmp230_; ValaCCodeIdentifier* _tmp231_; ValaCCodeFunctionCall* _tmp232_; ValaCCodeConstant* _tmp233_; ValaCCodeConstant* _tmp234_; ValaCCodeFunctionCall* _tmp235_; ValaCCodeIdentifier* _tmp236_; ValaCCodeIdentifier* _tmp237_; ValaCCodeUnaryExpression* _tmp238_; ValaCCodeUnaryExpression* _tmp239_; ValaCCodeFunction* _tmp240_; ValaCCodeFunction* _tmp241_; ValaCCodeFunctionCall* _tmp242_; ValaCCodeIdentifier* _tmp243_; ValaCCodeIdentifier* _tmp244_; ValaCCodeFunctionCall* _tmp245_; ValaCCodeFunctionCall* _tmp246_; ValaCCodeFunctionCall* unref_reply; ValaCCodeFunctionCall* _tmp247_; ValaCCodeIdentifier* _tmp248_; ValaCCodeIdentifier* _tmp249_; ValaCCodeFunction* _tmp250_; ValaCCodeFunction* _tmp251_; ValaCCodeFunctionCall* _tmp252_; ValaCCodeFunction* _tmp253_; ValaCCodeFunction* _tmp254_; ValaProperty* _tmp255_; ValaDataType* _tmp256_; ValaDataType* _tmp257_; gboolean _tmp258_ = FALSE; ValaCCodeIdentifier* _tmp343_; ValaCCodeIdentifier* _tmp344_; ValaCCodeFunctionCall* _tmp345_; ValaCCodeFunctionCall* _tmp346_; ValaCCodeIdentifier* _tmp347_; ValaCCodeIdentifier* _tmp348_; ValaCCodeFunction* _tmp349_; ValaCCodeFunction* _tmp350_; ValaCCodeFunctionCall* _tmp351_; ValaProperty* _tmp352_; ValaDataType* _tmp353_; ValaDataType* _tmp354_; gboolean _tmp355_ = FALSE; ValaCCodeFile* _tmp362_; ValaCCodeFunction* _tmp363_; ValaCCodeFile* _tmp364_; ValaCCodeFunction* _tmp365_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (main_iface != NULL, NULL); g_return_val_if_fail (iface != NULL, NULL); g_return_val_if_fail (prop != NULL, NULL); _tmp0_ = main_iface; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = prop; _tmp4_ = vala_symbol_get_name ((ValaSymbol*) _tmp3_); _tmp5_ = _tmp4_; _tmp6_ = g_strdup_printf ("%sdbus_proxy_get_%s", _tmp2_, _tmp5_); _tmp7_ = _tmp6_; _g_free0 (_tmp2_); proxy_name = _tmp7_; _tmp8_ = iface; _tmp9_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp8_); dbus_iface_name = _tmp9_; _tmp10_ = prop; _tmp11_ = vala_property_get_get_accessor (_tmp10_); _tmp12_ = _tmp11_; _tmp13_ = vala_property_accessor_get_value_type (_tmp12_); _tmp14_ = _tmp13_; _tmp15_ = vala_data_type_copy (_tmp14_); owned_type = _tmp15_; _tmp16_ = owned_type; vala_data_type_set_value_owned (_tmp16_, TRUE); _tmp18_ = owned_type; _tmp19_ = vala_data_type_is_disposable (_tmp18_); if (_tmp19_) { ValaProperty* _tmp20_; ValaPropertyAccessor* _tmp21_; ValaPropertyAccessor* _tmp22_; ValaDataType* _tmp23_; ValaDataType* _tmp24_; gboolean _tmp25_; gboolean _tmp26_; _tmp20_ = prop; _tmp21_ = vala_property_get_get_accessor (_tmp20_); _tmp22_ = _tmp21_; _tmp23_ = vala_property_accessor_get_value_type (_tmp22_); _tmp24_ = _tmp23_; _tmp25_ = vala_data_type_get_value_owned (_tmp24_); _tmp26_ = _tmp25_; _tmp17_ = !_tmp26_; } else { _tmp17_ = FALSE; } _tmp27_ = _tmp17_; if (_tmp27_) { ValaProperty* _tmp28_; ValaPropertyAccessor* _tmp29_; ValaPropertyAccessor* _tmp30_; ValaDataType* _tmp31_; ValaDataType* _tmp32_; ValaSourceReference* _tmp33_; ValaSourceReference* _tmp34_; _tmp28_ = prop; _tmp29_ = vala_property_get_get_accessor (_tmp28_); _tmp30_ = _tmp29_; _tmp31_ = vala_property_accessor_get_value_type (_tmp30_); _tmp32_ = _tmp31_; _tmp33_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp32_); _tmp34_ = _tmp33_; vala_report_error (_tmp34_, "Properties used in D-Bus clients require owned get accessor"); } _tmp35_ = prop; _tmp36_ = vala_property_get_get_accessor (_tmp35_); _tmp37_ = _tmp36_; _tmp38_ = vala_property_accessor_get_value_type (_tmp37_); _tmp39_ = _tmp38_; _tmp40_ = _vala_code_node_ref0 (VALA_IS_ARRAY_TYPE (_tmp39_) ? ((ValaArrayType*) _tmp39_) : NULL); array_type = _tmp40_; _tmp41_ = proxy_name; _tmp42_ = vala_ccode_function_new (_tmp41_, "void"); function = _tmp42_; _tmp43_ = function; vala_ccode_function_set_modifiers (_tmp43_, VALA_CCODE_MODIFIERS_STATIC); _tmp44_ = function; _tmp45_ = iface; _tmp46_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp45_); _tmp47_ = _tmp46_; _tmp48_ = g_strdup_printf ("%s*", _tmp47_); _tmp49_ = _tmp48_; _tmp50_ = vala_ccode_parameter_new ("self", _tmp49_); _tmp51_ = _tmp50_; vala_ccode_function_add_parameter (_tmp44_, _tmp51_); _vala_ccode_node_unref0 (_tmp51_); _g_free0 (_tmp49_); _g_free0 (_tmp47_); _tmp52_ = prop; _tmp53_ = vala_property_get_property_type (_tmp52_); _tmp54_ = _tmp53_; _tmp55_ = vala_data_type_is_real_non_null_struct_type (_tmp54_); if (_tmp55_) { ValaCCodeFunction* _tmp56_; ValaProperty* _tmp57_; ValaPropertyAccessor* _tmp58_; ValaPropertyAccessor* _tmp59_; ValaDataType* _tmp60_; ValaDataType* _tmp61_; gchar* _tmp62_ = NULL; gchar* _tmp63_; gchar* _tmp64_ = NULL; gchar* _tmp65_; ValaCCodeParameter* _tmp66_; ValaCCodeParameter* _tmp67_; _tmp56_ = function; _tmp57_ = prop; _tmp58_ = vala_property_get_get_accessor (_tmp57_); _tmp59_ = _tmp58_; _tmp60_ = vala_property_accessor_get_value_type (_tmp59_); _tmp61_ = _tmp60_; _tmp62_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp61_); _tmp63_ = _tmp62_; _tmp64_ = g_strdup_printf ("%s*", _tmp63_); _tmp65_ = _tmp64_; _tmp66_ = vala_ccode_parameter_new ("result", _tmp65_); _tmp67_ = _tmp66_; vala_ccode_function_add_parameter (_tmp56_, _tmp67_); _vala_ccode_node_unref0 (_tmp67_); _g_free0 (_tmp65_); _g_free0 (_tmp63_); } else { ValaArrayType* _tmp68_; ValaCCodeFunction* _tmp82_; ValaProperty* _tmp83_; ValaPropertyAccessor* _tmp84_; ValaPropertyAccessor* _tmp85_; ValaDataType* _tmp86_; ValaDataType* _tmp87_; gchar* _tmp88_ = NULL; gchar* _tmp89_; _tmp68_ = array_type; if (_tmp68_ != NULL) { { gint dim; dim = 1; { gboolean _tmp69_; _tmp69_ = TRUE; while (TRUE) { gboolean _tmp70_; gint _tmp72_; ValaArrayType* _tmp73_; gint _tmp74_; gint _tmp75_; ValaCCodeFunction* _tmp76_; gint _tmp77_; gchar* _tmp78_ = NULL; gchar* _tmp79_; ValaCCodeParameter* _tmp80_; ValaCCodeParameter* _tmp81_; _tmp70_ = _tmp69_; if (!_tmp70_) { gint _tmp71_; _tmp71_ = dim; dim = _tmp71_ + 1; } _tmp69_ = FALSE; _tmp72_ = dim; _tmp73_ = array_type; _tmp74_ = vala_array_type_get_rank (_tmp73_); _tmp75_ = _tmp74_; if (!(_tmp72_ <= _tmp75_)) { break; } _tmp76_ = function; _tmp77_ = dim; _tmp78_ = g_strdup_printf ("result_length%d", _tmp77_); _tmp79_ = _tmp78_; _tmp80_ = vala_ccode_parameter_new (_tmp79_, "int*"); _tmp81_ = _tmp80_; vala_ccode_function_add_parameter (_tmp76_, _tmp81_); _vala_ccode_node_unref0 (_tmp81_); _g_free0 (_tmp79_); } } } } _tmp82_ = function; _tmp83_ = prop; _tmp84_ = vala_property_get_get_accessor (_tmp83_); _tmp85_ = _tmp84_; _tmp86_ = vala_property_accessor_get_value_type (_tmp85_); _tmp87_ = _tmp86_; _tmp88_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp87_); _tmp89_ = _tmp88_; vala_ccode_function_set_return_type (_tmp82_, _tmp89_); _g_free0 (_tmp89_); } _tmp90_ = function; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp90_); _tmp91_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp92_ = _tmp91_; _tmp93_ = vala_ccode_variable_declarator_new ("*_inner_reply", NULL, NULL); _tmp94_ = _tmp93_; vala_ccode_function_add_declaration (_tmp92_, "GVariant", (ValaCCodeDeclarator*) _tmp94_, 0); _vala_ccode_node_unref0 (_tmp94_); _tmp95_ = vala_ccode_identifier_new ("g_dbus_proxy_get_cached_property"); _tmp96_ = _tmp95_; _tmp97_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp96_); _tmp98_ = _tmp97_; _vala_ccode_node_unref0 (_tmp96_); ccall = _tmp98_; _tmp99_ = ccall; _tmp100_ = vala_ccode_identifier_new ("self"); _tmp101_ = _tmp100_; _tmp102_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp101_, "GDBusProxy *"); _tmp103_ = _tmp102_; vala_ccode_function_call_add_argument (_tmp99_, (ValaCCodeExpression*) _tmp103_); _vala_ccode_node_unref0 (_tmp103_); _vala_ccode_node_unref0 (_tmp101_); _tmp104_ = ccall; _tmp105_ = prop; _tmp106_ = vala_gd_bus_module_get_dbus_name_for_member ((ValaSymbol*) _tmp105_); _tmp107_ = _tmp106_; _tmp108_ = g_strdup_printf ("\"%s\"", _tmp107_); _tmp109_ = _tmp108_; _tmp110_ = vala_ccode_constant_new (_tmp109_); _tmp111_ = _tmp110_; vala_ccode_function_call_add_argument (_tmp104_, (ValaCCodeExpression*) _tmp111_); _vala_ccode_node_unref0 (_tmp111_); _g_free0 (_tmp109_); _g_free0 (_tmp107_); _tmp112_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp113_ = _tmp112_; _tmp114_ = vala_ccode_identifier_new ("_inner_reply"); _tmp115_ = _tmp114_; _tmp116_ = ccall; vala_ccode_function_add_assignment (_tmp113_, (ValaCCodeExpression*) _tmp115_, (ValaCCodeExpression*) _tmp116_); _vala_ccode_node_unref0 (_tmp115_); _tmp117_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp118_ = _tmp117_; _tmp119_ = vala_ccode_identifier_new ("_inner_reply"); _tmp120_ = _tmp119_; _tmp121_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, (ValaCCodeExpression*) _tmp120_); _tmp122_ = _tmp121_; vala_ccode_function_open_if (_tmp118_, (ValaCCodeExpression*) _tmp122_); _vala_ccode_node_unref0 (_tmp122_); _vala_ccode_node_unref0 (_tmp120_); _tmp123_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp124_ = _tmp123_; _tmp125_ = vala_ccode_variable_declarator_new ("*_arguments", NULL, NULL); _tmp126_ = _tmp125_; vala_ccode_function_add_declaration (_tmp124_, "GVariant", (ValaCCodeDeclarator*) _tmp126_, 0); _vala_ccode_node_unref0 (_tmp126_); _tmp127_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp128_ = _tmp127_; _tmp129_ = vala_ccode_variable_declarator_new ("*_reply", NULL, NULL); _tmp130_ = _tmp129_; vala_ccode_function_add_declaration (_tmp128_, "GVariant", (ValaCCodeDeclarator*) _tmp130_, 0); _vala_ccode_node_unref0 (_tmp130_); _tmp131_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp132_ = _tmp131_; _tmp133_ = vala_ccode_variable_declarator_new ("_arguments_builder", NULL, NULL); _tmp134_ = _tmp133_; vala_ccode_function_add_declaration (_tmp132_, "GVariantBuilder", (ValaCCodeDeclarator*) _tmp134_, 0); _vala_ccode_node_unref0 (_tmp134_); _tmp135_ = vala_ccode_identifier_new ("g_variant_builder_init"); _tmp136_ = _tmp135_; _tmp137_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp136_); _tmp138_ = _tmp137_; _vala_ccode_node_unref0 (_tmp136_); builder_init = _tmp138_; _tmp139_ = builder_init; _tmp140_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp141_ = _tmp140_; _tmp142_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp141_); _tmp143_ = _tmp142_; vala_ccode_function_call_add_argument (_tmp139_, (ValaCCodeExpression*) _tmp143_); _vala_ccode_node_unref0 (_tmp143_); _vala_ccode_node_unref0 (_tmp141_); _tmp144_ = builder_init; _tmp145_ = vala_ccode_identifier_new ("G_VARIANT_TYPE_TUPLE"); _tmp146_ = _tmp145_; vala_ccode_function_call_add_argument (_tmp144_, (ValaCCodeExpression*) _tmp146_); _vala_ccode_node_unref0 (_tmp146_); _tmp147_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp148_ = _tmp147_; _tmp149_ = builder_init; vala_ccode_function_add_expression (_tmp148_, (ValaCCodeExpression*) _tmp149_); _tmp150_ = ((ValaCCodeBaseModule*) self)->string_type; _tmp151_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp152_ = _tmp151_; _tmp153_ = dbus_iface_name; _tmp154_ = g_strdup_printf ("\"%s\"", _tmp153_); _tmp155_ = _tmp154_; _tmp156_ = vala_ccode_constant_new (_tmp155_); _tmp157_ = _tmp156_; vala_gvariant_module_write_expression ((ValaGVariantModule*) self, _tmp150_, (ValaCCodeExpression*) _tmp152_, (ValaCCodeExpression*) _tmp157_, NULL); _vala_ccode_node_unref0 (_tmp157_); _g_free0 (_tmp155_); _vala_ccode_node_unref0 (_tmp152_); _tmp158_ = ((ValaCCodeBaseModule*) self)->string_type; _tmp159_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp160_ = _tmp159_; _tmp161_ = prop; _tmp162_ = vala_gd_bus_module_get_dbus_name_for_member ((ValaSymbol*) _tmp161_); _tmp163_ = _tmp162_; _tmp164_ = g_strdup_printf ("\"%s\"", _tmp163_); _tmp165_ = _tmp164_; _tmp166_ = vala_ccode_constant_new (_tmp165_); _tmp167_ = _tmp166_; vala_gvariant_module_write_expression ((ValaGVariantModule*) self, _tmp158_, (ValaCCodeExpression*) _tmp160_, (ValaCCodeExpression*) _tmp167_, NULL); _vala_ccode_node_unref0 (_tmp167_); _g_free0 (_tmp165_); _g_free0 (_tmp163_); _vala_ccode_node_unref0 (_tmp160_); _tmp168_ = vala_ccode_identifier_new ("g_variant_builder_end"); _tmp169_ = _tmp168_; _tmp170_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp169_); _tmp171_ = _tmp170_; _vala_ccode_node_unref0 (_tmp169_); builder_end = _tmp171_; _tmp172_ = builder_end; _tmp173_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp174_ = _tmp173_; _tmp175_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp174_); _tmp176_ = _tmp175_; vala_ccode_function_call_add_argument (_tmp172_, (ValaCCodeExpression*) _tmp176_); _vala_ccode_node_unref0 (_tmp176_); _vala_ccode_node_unref0 (_tmp174_); _tmp177_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp178_ = _tmp177_; _tmp179_ = vala_ccode_identifier_new ("_arguments"); _tmp180_ = _tmp179_; _tmp181_ = builder_end; vala_ccode_function_add_assignment (_tmp178_, (ValaCCodeExpression*) _tmp180_, (ValaCCodeExpression*) _tmp181_); _vala_ccode_node_unref0 (_tmp180_); _tmp182_ = vala_ccode_identifier_new ("g_dbus_proxy_call_sync"); _tmp183_ = _tmp182_; _tmp184_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp183_); _vala_ccode_node_unref0 (ccall); ccall = _tmp184_; _vala_ccode_node_unref0 (_tmp183_); _tmp185_ = ccall; _tmp186_ = vala_ccode_identifier_new ("self"); _tmp187_ = _tmp186_; _tmp188_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp187_, "GDBusProxy *"); _tmp189_ = _tmp188_; vala_ccode_function_call_add_argument (_tmp185_, (ValaCCodeExpression*) _tmp189_); _vala_ccode_node_unref0 (_tmp189_); _vala_ccode_node_unref0 (_tmp187_); _tmp190_ = ccall; _tmp191_ = vala_ccode_constant_new ("\"org.freedesktop.DBus.Properties.Get\""); _tmp192_ = _tmp191_; vala_ccode_function_call_add_argument (_tmp190_, (ValaCCodeExpression*) _tmp192_); _vala_ccode_node_unref0 (_tmp192_); _tmp193_ = ccall; _tmp194_ = vala_ccode_identifier_new ("_arguments"); _tmp195_ = _tmp194_; vala_ccode_function_call_add_argument (_tmp193_, (ValaCCodeExpression*) _tmp195_); _vala_ccode_node_unref0 (_tmp195_); _tmp196_ = ccall; _tmp197_ = vala_ccode_constant_new ("G_DBUS_CALL_FLAGS_NONE"); _tmp198_ = _tmp197_; vala_ccode_function_call_add_argument (_tmp196_, (ValaCCodeExpression*) _tmp198_); _vala_ccode_node_unref0 (_tmp198_); _tmp199_ = ccall; _tmp200_ = prop; _tmp201_ = vala_gd_bus_client_module_get_dbus_timeout (self, (ValaSymbol*) _tmp200_); _tmp202_ = _tmp201_; vala_ccode_function_call_add_argument (_tmp199_, (ValaCCodeExpression*) _tmp202_); _vala_ccode_node_unref0 (_tmp202_); _tmp203_ = ccall; _tmp204_ = vala_ccode_constant_new ("NULL"); _tmp205_ = _tmp204_; vala_ccode_function_call_add_argument (_tmp203_, (ValaCCodeExpression*) _tmp205_); _vala_ccode_node_unref0 (_tmp205_); _tmp206_ = ccall; _tmp207_ = vala_ccode_constant_new ("NULL"); _tmp208_ = _tmp207_; vala_ccode_function_call_add_argument (_tmp206_, (ValaCCodeExpression*) _tmp208_); _vala_ccode_node_unref0 (_tmp208_); _tmp209_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp210_ = _tmp209_; _tmp211_ = vala_ccode_identifier_new ("_reply"); _tmp212_ = _tmp211_; _tmp213_ = ccall; vala_ccode_function_add_assignment (_tmp210_, (ValaCCodeExpression*) _tmp212_, (ValaCCodeExpression*) _tmp213_); _vala_ccode_node_unref0 (_tmp212_); _tmp214_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp215_ = _tmp214_; _tmp216_ = vala_ccode_identifier_new ("_reply"); _tmp217_ = _tmp216_; _tmp218_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, (ValaCCodeExpression*) _tmp217_); _tmp219_ = _tmp218_; vala_ccode_function_open_if (_tmp215_, (ValaCCodeExpression*) _tmp219_); _vala_ccode_node_unref0 (_tmp219_); _vala_ccode_node_unref0 (_tmp217_); _tmp220_ = prop; _tmp221_ = vala_property_get_property_type (_tmp220_); _tmp222_ = _tmp221_; vala_ccode_base_module_return_default_value ((ValaCCodeBaseModule*) self, _tmp222_); _tmp223_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp224_ = _tmp223_; vala_ccode_function_close (_tmp224_); _tmp225_ = vala_ccode_identifier_new ("g_variant_get"); _tmp226_ = _tmp225_; _tmp227_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp226_); _tmp228_ = _tmp227_; _vala_ccode_node_unref0 (_tmp226_); get_variant = _tmp228_; _tmp229_ = get_variant; _tmp230_ = vala_ccode_identifier_new ("_reply"); _tmp231_ = _tmp230_; vala_ccode_function_call_add_argument (_tmp229_, (ValaCCodeExpression*) _tmp231_); _vala_ccode_node_unref0 (_tmp231_); _tmp232_ = get_variant; _tmp233_ = vala_ccode_constant_new ("\"(v)\""); _tmp234_ = _tmp233_; vala_ccode_function_call_add_argument (_tmp232_, (ValaCCodeExpression*) _tmp234_); _vala_ccode_node_unref0 (_tmp234_); _tmp235_ = get_variant; _tmp236_ = vala_ccode_identifier_new ("_inner_reply"); _tmp237_ = _tmp236_; _tmp238_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp237_); _tmp239_ = _tmp238_; vala_ccode_function_call_add_argument (_tmp235_, (ValaCCodeExpression*) _tmp239_); _vala_ccode_node_unref0 (_tmp239_); _vala_ccode_node_unref0 (_tmp237_); _tmp240_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp241_ = _tmp240_; _tmp242_ = get_variant; vala_ccode_function_add_expression (_tmp241_, (ValaCCodeExpression*) _tmp242_); _tmp243_ = vala_ccode_identifier_new ("g_variant_unref"); _tmp244_ = _tmp243_; _tmp245_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp244_); _tmp246_ = _tmp245_; _vala_ccode_node_unref0 (_tmp244_); unref_reply = _tmp246_; _tmp247_ = unref_reply; _tmp248_ = vala_ccode_identifier_new ("_reply"); _tmp249_ = _tmp248_; vala_ccode_function_call_add_argument (_tmp247_, (ValaCCodeExpression*) _tmp249_); _vala_ccode_node_unref0 (_tmp249_); _tmp250_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp251_ = _tmp250_; _tmp252_ = unref_reply; vala_ccode_function_add_expression (_tmp251_, (ValaCCodeExpression*) _tmp252_); _tmp253_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp254_ = _tmp253_; vala_ccode_function_close (_tmp254_); _tmp255_ = prop; _tmp256_ = vala_property_get_property_type (_tmp255_); _tmp257_ = _tmp256_; _tmp258_ = vala_data_type_is_real_non_null_struct_type (_tmp257_); if (_tmp258_) { ValaCCodeIdentifier* _tmp259_; ValaCCodeIdentifier* _tmp260_; ValaCCodeUnaryExpression* _tmp261_; ValaCCodeUnaryExpression* _tmp262_; ValaCCodeUnaryExpression* target; ValaProperty* _tmp263_; ValaPropertyAccessor* _tmp264_; ValaPropertyAccessor* _tmp265_; ValaDataType* _tmp266_; ValaDataType* _tmp267_; ValaCCodeIdentifier* _tmp268_; ValaCCodeIdentifier* _tmp269_; ValaCCodeUnaryExpression* _tmp270_; ValaCCodeExpression* _tmp271_ = NULL; ValaCCodeExpression* _tmp272_; ValaCCodeExpression* _result_; ValaCCodeFunction* _tmp273_; ValaCCodeFunction* _tmp274_; ValaCCodeUnaryExpression* _tmp275_; ValaCCodeExpression* _tmp276_; _tmp259_ = vala_ccode_identifier_new ("result"); _tmp260_ = _tmp259_; _tmp261_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp260_); _tmp262_ = _tmp261_; _vala_ccode_node_unref0 (_tmp260_); target = _tmp262_; _tmp263_ = prop; _tmp264_ = vala_property_get_get_accessor (_tmp263_); _tmp265_ = _tmp264_; _tmp266_ = vala_property_accessor_get_value_type (_tmp265_); _tmp267_ = _tmp266_; _tmp268_ = vala_ccode_identifier_new ("_inner_reply"); _tmp269_ = _tmp268_; _tmp270_ = target; _tmp271_ = vala_ccode_base_module_deserialize_expression ((ValaCCodeBaseModule*) self, _tmp267_, (ValaCCodeExpression*) _tmp269_, (ValaCCodeExpression*) _tmp270_, NULL, NULL); _tmp272_ = _tmp271_; _vala_ccode_node_unref0 (_tmp269_); _result_ = _tmp272_; _tmp273_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp274_ = _tmp273_; _tmp275_ = target; _tmp276_ = _result_; vala_ccode_function_add_assignment (_tmp274_, (ValaCCodeExpression*) _tmp275_, _tmp276_); _vala_ccode_node_unref0 (_result_); _vala_ccode_node_unref0 (target); } else { ValaCCodeFunction* _tmp277_; ValaCCodeFunction* _tmp278_; ValaProperty* _tmp279_; ValaPropertyAccessor* _tmp280_; ValaPropertyAccessor* _tmp281_; ValaDataType* _tmp282_; ValaDataType* _tmp283_; gchar* _tmp284_ = NULL; gchar* _tmp285_; ValaCCodeVariableDeclarator* _tmp286_; ValaCCodeVariableDeclarator* _tmp287_; ValaArrayType* _tmp288_; ValaProperty* _tmp305_; ValaPropertyAccessor* _tmp306_; ValaPropertyAccessor* _tmp307_; ValaDataType* _tmp308_; ValaDataType* _tmp309_; ValaCCodeIdentifier* _tmp310_; ValaCCodeIdentifier* _tmp311_; ValaCCodeIdentifier* _tmp312_; ValaCCodeIdentifier* _tmp313_; ValaCCodeExpression* _tmp314_ = NULL; ValaCCodeExpression* _tmp315_; ValaCCodeExpression* _result_; ValaCCodeFunction* _tmp316_; ValaCCodeFunction* _tmp317_; ValaCCodeIdentifier* _tmp318_; ValaCCodeIdentifier* _tmp319_; ValaCCodeExpression* _tmp320_; ValaArrayType* _tmp321_; _tmp277_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp278_ = _tmp277_; _tmp279_ = prop; _tmp280_ = vala_property_get_get_accessor (_tmp279_); _tmp281_ = _tmp280_; _tmp282_ = vala_property_accessor_get_value_type (_tmp281_); _tmp283_ = _tmp282_; _tmp284_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp283_); _tmp285_ = _tmp284_; _tmp286_ = vala_ccode_variable_declarator_new ("_result", NULL, NULL); _tmp287_ = _tmp286_; vala_ccode_function_add_declaration (_tmp278_, _tmp285_, (ValaCCodeDeclarator*) _tmp287_, 0); _vala_ccode_node_unref0 (_tmp287_); _g_free0 (_tmp285_); _tmp288_ = array_type; if (_tmp288_ != NULL) { { gint dim; dim = 1; { gboolean _tmp289_; _tmp289_ = TRUE; while (TRUE) { gboolean _tmp290_; gint _tmp292_; ValaArrayType* _tmp293_; gint _tmp294_; gint _tmp295_; ValaCCodeFunction* _tmp296_; ValaCCodeFunction* _tmp297_; gint _tmp298_; gchar* _tmp299_ = NULL; gchar* _tmp300_; ValaCCodeConstant* _tmp301_; ValaCCodeConstant* _tmp302_; ValaCCodeVariableDeclarator* _tmp303_; ValaCCodeVariableDeclarator* _tmp304_; _tmp290_ = _tmp289_; if (!_tmp290_) { gint _tmp291_; _tmp291_ = dim; dim = _tmp291_ + 1; } _tmp289_ = FALSE; _tmp292_ = dim; _tmp293_ = array_type; _tmp294_ = vala_array_type_get_rank (_tmp293_); _tmp295_ = _tmp294_; if (!(_tmp292_ <= _tmp295_)) { break; } _tmp296_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp297_ = _tmp296_; _tmp298_ = dim; _tmp299_ = g_strdup_printf ("_result_length%d", _tmp298_); _tmp300_ = _tmp299_; _tmp301_ = vala_ccode_constant_new ("0"); _tmp302_ = _tmp301_; _tmp303_ = vala_ccode_variable_declarator_new (_tmp300_, (ValaCCodeExpression*) _tmp302_, NULL); _tmp304_ = _tmp303_; vala_ccode_function_add_declaration (_tmp297_, "int", (ValaCCodeDeclarator*) _tmp304_, 0); _vala_ccode_node_unref0 (_tmp304_); _vala_ccode_node_unref0 (_tmp302_); _g_free0 (_tmp300_); } } } } _tmp305_ = prop; _tmp306_ = vala_property_get_get_accessor (_tmp305_); _tmp307_ = _tmp306_; _tmp308_ = vala_property_accessor_get_value_type (_tmp307_); _tmp309_ = _tmp308_; _tmp310_ = vala_ccode_identifier_new ("_inner_reply"); _tmp311_ = _tmp310_; _tmp312_ = vala_ccode_identifier_new ("_result"); _tmp313_ = _tmp312_; _tmp314_ = vala_ccode_base_module_deserialize_expression ((ValaCCodeBaseModule*) self, _tmp309_, (ValaCCodeExpression*) _tmp311_, (ValaCCodeExpression*) _tmp313_, NULL, NULL); _tmp315_ = _tmp314_; _vala_ccode_node_unref0 (_tmp313_); _vala_ccode_node_unref0 (_tmp311_); _result_ = _tmp315_; _tmp316_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp317_ = _tmp316_; _tmp318_ = vala_ccode_identifier_new ("_result"); _tmp319_ = _tmp318_; _tmp320_ = _result_; vala_ccode_function_add_assignment (_tmp317_, (ValaCCodeExpression*) _tmp319_, _tmp320_); _vala_ccode_node_unref0 (_tmp319_); _tmp321_ = array_type; if (_tmp321_ != NULL) { { gint dim; dim = 1; { gboolean _tmp322_; _tmp322_ = TRUE; while (TRUE) { gboolean _tmp323_; gint _tmp325_; ValaArrayType* _tmp326_; gint _tmp327_; gint _tmp328_; ValaCCodeFunction* _tmp329_; ValaCCodeFunction* _tmp330_; gint _tmp331_; gchar* _tmp332_ = NULL; gchar* _tmp333_; ValaCCodeIdentifier* _tmp334_; ValaCCodeIdentifier* _tmp335_; ValaCCodeUnaryExpression* _tmp336_; ValaCCodeUnaryExpression* _tmp337_; gint _tmp338_; gchar* _tmp339_ = NULL; gchar* _tmp340_; ValaCCodeIdentifier* _tmp341_; ValaCCodeIdentifier* _tmp342_; _tmp323_ = _tmp322_; if (!_tmp323_) { gint _tmp324_; _tmp324_ = dim; dim = _tmp324_ + 1; } _tmp322_ = FALSE; _tmp325_ = dim; _tmp326_ = array_type; _tmp327_ = vala_array_type_get_rank (_tmp326_); _tmp328_ = _tmp327_; if (!(_tmp325_ <= _tmp328_)) { break; } _tmp329_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp330_ = _tmp329_; _tmp331_ = dim; _tmp332_ = g_strdup_printf ("result_length%d", _tmp331_); _tmp333_ = _tmp332_; _tmp334_ = vala_ccode_identifier_new (_tmp333_); _tmp335_ = _tmp334_; _tmp336_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp335_); _tmp337_ = _tmp336_; _tmp338_ = dim; _tmp339_ = g_strdup_printf ("_result_length%d", _tmp338_); _tmp340_ = _tmp339_; _tmp341_ = vala_ccode_identifier_new (_tmp340_); _tmp342_ = _tmp341_; vala_ccode_function_add_assignment (_tmp330_, (ValaCCodeExpression*) _tmp337_, (ValaCCodeExpression*) _tmp342_); _vala_ccode_node_unref0 (_tmp342_); _g_free0 (_tmp340_); _vala_ccode_node_unref0 (_tmp337_); _vala_ccode_node_unref0 (_tmp335_); _g_free0 (_tmp333_); } } } } _vala_ccode_node_unref0 (_result_); } _tmp343_ = vala_ccode_identifier_new ("g_variant_unref"); _tmp344_ = _tmp343_; _tmp345_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp344_); _vala_ccode_node_unref0 (unref_reply); unref_reply = _tmp345_; _vala_ccode_node_unref0 (_tmp344_); _tmp346_ = unref_reply; _tmp347_ = vala_ccode_identifier_new ("_inner_reply"); _tmp348_ = _tmp347_; vala_ccode_function_call_add_argument (_tmp346_, (ValaCCodeExpression*) _tmp348_); _vala_ccode_node_unref0 (_tmp348_); _tmp349_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp350_ = _tmp349_; _tmp351_ = unref_reply; vala_ccode_function_add_expression (_tmp350_, (ValaCCodeExpression*) _tmp351_); _tmp352_ = prop; _tmp353_ = vala_property_get_property_type (_tmp352_); _tmp354_ = _tmp353_; _tmp355_ = vala_data_type_is_real_non_null_struct_type (_tmp354_); if (_tmp355_) { ValaCCodeFunction* _tmp356_; ValaCCodeFunction* _tmp357_; _tmp356_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp357_ = _tmp356_; vala_ccode_function_add_return (_tmp357_, NULL); } else { ValaCCodeFunction* _tmp358_; ValaCCodeFunction* _tmp359_; ValaCCodeIdentifier* _tmp360_; ValaCCodeIdentifier* _tmp361_; _tmp358_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp359_ = _tmp358_; _tmp360_ = vala_ccode_identifier_new ("_result"); _tmp361_ = _tmp360_; vala_ccode_function_add_return (_tmp359_, (ValaCCodeExpression*) _tmp361_); _vala_ccode_node_unref0 (_tmp361_); } vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp362_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp363_ = function; vala_ccode_file_add_function_declaration (_tmp362_, _tmp363_); _tmp364_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp365_ = function; vala_ccode_file_add_function (_tmp364_, _tmp365_); result = proxy_name; _vala_ccode_node_unref0 (unref_reply); _vala_ccode_node_unref0 (get_variant); _vala_ccode_node_unref0 (builder_end); _vala_ccode_node_unref0 (builder_init); _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (function); _vala_code_node_unref0 (array_type); _vala_code_node_unref0 (owned_type); _g_free0 (dbus_iface_name); return result; } static gchar* vala_gd_bus_client_module_generate_dbus_proxy_property_set (ValaGDBusClientModule* self, ValaInterface* main_iface, ValaInterface* iface, ValaProperty* prop) { gchar* result = NULL; ValaInterface* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; ValaProperty* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* proxy_name; ValaInterface* _tmp8_; gchar* _tmp9_ = NULL; gchar* dbus_iface_name; ValaProperty* _tmp10_; ValaPropertyAccessor* _tmp11_; ValaPropertyAccessor* _tmp12_; ValaDataType* _tmp13_; ValaDataType* _tmp14_; ValaArrayType* _tmp15_; ValaArrayType* array_type; const gchar* _tmp16_; ValaCCodeFunction* _tmp17_; ValaCCodeFunction* function; ValaCCodeFunction* _tmp18_; ValaCCodeFunction* _tmp19_; ValaInterface* _tmp20_; gchar* _tmp21_ = NULL; gchar* _tmp22_; gchar* _tmp23_ = NULL; gchar* _tmp24_; ValaCCodeParameter* _tmp25_; ValaCCodeParameter* _tmp26_; ValaProperty* _tmp27_; ValaDataType* _tmp28_; ValaDataType* _tmp29_; gboolean _tmp30_ = FALSE; ValaCCodeFunction* _tmp67_; ValaCCodeFunction* _tmp68_; ValaCCodeFunction* _tmp69_; ValaCCodeVariableDeclarator* _tmp70_; ValaCCodeVariableDeclarator* _tmp71_; ValaCCodeFunction* _tmp72_; ValaCCodeFunction* _tmp73_; ValaCCodeVariableDeclarator* _tmp74_; ValaCCodeVariableDeclarator* _tmp75_; ValaCCodeFunction* _tmp76_; ValaCCodeFunction* _tmp77_; ValaCCodeVariableDeclarator* _tmp78_; ValaCCodeVariableDeclarator* _tmp79_; ValaCCodeIdentifier* _tmp80_; ValaCCodeIdentifier* _tmp81_; ValaCCodeFunctionCall* _tmp82_; ValaCCodeFunctionCall* _tmp83_; ValaCCodeFunctionCall* builder_init; ValaCCodeFunctionCall* _tmp84_; ValaCCodeIdentifier* _tmp85_; ValaCCodeIdentifier* _tmp86_; ValaCCodeUnaryExpression* _tmp87_; ValaCCodeUnaryExpression* _tmp88_; ValaCCodeFunctionCall* _tmp89_; ValaCCodeIdentifier* _tmp90_; ValaCCodeIdentifier* _tmp91_; ValaCCodeFunction* _tmp92_; ValaCCodeFunction* _tmp93_; ValaCCodeFunctionCall* _tmp94_; ValaDataType* _tmp95_; ValaCCodeIdentifier* _tmp96_; ValaCCodeIdentifier* _tmp97_; const gchar* _tmp98_; gchar* _tmp99_ = NULL; gchar* _tmp100_; ValaCCodeConstant* _tmp101_; ValaCCodeConstant* _tmp102_; ValaDataType* _tmp103_; ValaCCodeIdentifier* _tmp104_; ValaCCodeIdentifier* _tmp105_; ValaProperty* _tmp106_; gchar* _tmp107_ = NULL; gchar* _tmp108_; gchar* _tmp109_ = NULL; gchar* _tmp110_; ValaCCodeConstant* _tmp111_; ValaCCodeConstant* _tmp112_; ValaCCodeIdentifier* _tmp113_; ValaCCodeIdentifier* _tmp114_; ValaCCodeFunctionCall* _tmp115_; ValaCCodeFunctionCall* _tmp116_; ValaCCodeFunctionCall* builder_open; ValaCCodeFunctionCall* _tmp117_; ValaCCodeIdentifier* _tmp118_; ValaCCodeIdentifier* _tmp119_; ValaCCodeUnaryExpression* _tmp120_; ValaCCodeUnaryExpression* _tmp121_; ValaCCodeFunctionCall* _tmp122_; ValaCCodeIdentifier* _tmp123_; ValaCCodeIdentifier* _tmp124_; ValaCCodeFunction* _tmp125_; ValaCCodeFunction* _tmp126_; ValaCCodeFunctionCall* _tmp127_; ValaProperty* _tmp128_; ValaDataType* _tmp129_; ValaDataType* _tmp130_; gboolean _tmp131_ = FALSE; ValaCCodeIdentifier* _tmp154_; ValaCCodeIdentifier* _tmp155_; ValaCCodeFunctionCall* _tmp156_; ValaCCodeFunctionCall* _tmp157_; ValaCCodeFunctionCall* builder_close; ValaCCodeIdentifier* _tmp158_; ValaCCodeIdentifier* _tmp159_; ValaCCodeUnaryExpression* _tmp160_; ValaCCodeUnaryExpression* _tmp161_; ValaCCodeFunction* _tmp162_; ValaCCodeFunction* _tmp163_; ValaCCodeIdentifier* _tmp164_; ValaCCodeIdentifier* _tmp165_; ValaCCodeFunctionCall* _tmp166_; ValaCCodeFunctionCall* _tmp167_; ValaCCodeFunctionCall* builder_end; ValaCCodeIdentifier* _tmp168_; ValaCCodeIdentifier* _tmp169_; ValaCCodeUnaryExpression* _tmp170_; ValaCCodeUnaryExpression* _tmp171_; ValaCCodeFunction* _tmp172_; ValaCCodeFunction* _tmp173_; ValaCCodeIdentifier* _tmp174_; ValaCCodeIdentifier* _tmp175_; ValaCCodeIdentifier* _tmp176_; ValaCCodeIdentifier* _tmp177_; ValaCCodeFunctionCall* _tmp178_; ValaCCodeFunctionCall* _tmp179_; ValaCCodeFunctionCall* ccall; ValaCCodeIdentifier* _tmp180_; ValaCCodeIdentifier* _tmp181_; ValaCCodeCastExpression* _tmp182_; ValaCCodeCastExpression* _tmp183_; ValaCCodeConstant* _tmp184_; ValaCCodeConstant* _tmp185_; ValaCCodeIdentifier* _tmp186_; ValaCCodeIdentifier* _tmp187_; ValaCCodeConstant* _tmp188_; ValaCCodeConstant* _tmp189_; ValaProperty* _tmp190_; ValaCCodeConstant* _tmp191_ = NULL; ValaCCodeConstant* _tmp192_; ValaCCodeConstant* _tmp193_; ValaCCodeConstant* _tmp194_; ValaCCodeConstant* _tmp195_; ValaCCodeConstant* _tmp196_; ValaCCodeFunction* _tmp197_; ValaCCodeFunction* _tmp198_; ValaCCodeIdentifier* _tmp199_; ValaCCodeIdentifier* _tmp200_; ValaCCodeFunction* _tmp201_; ValaCCodeFunction* _tmp202_; ValaCCodeIdentifier* _tmp203_; ValaCCodeIdentifier* _tmp204_; ValaCCodeUnaryExpression* _tmp205_; ValaCCodeUnaryExpression* _tmp206_; ValaCCodeFunction* _tmp207_; ValaCCodeFunction* _tmp208_; ValaCCodeFunction* _tmp209_; ValaCCodeFunction* _tmp210_; ValaCCodeIdentifier* _tmp211_; ValaCCodeIdentifier* _tmp212_; ValaCCodeFunctionCall* _tmp213_; ValaCCodeFunctionCall* _tmp214_; ValaCCodeFunctionCall* unref_reply; ValaCCodeIdentifier* _tmp215_; ValaCCodeIdentifier* _tmp216_; ValaCCodeFunction* _tmp217_; ValaCCodeFunction* _tmp218_; ValaCCodeFile* _tmp219_; ValaCCodeFunction* _tmp220_; ValaCCodeFile* _tmp221_; ValaCCodeFunction* _tmp222_; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (main_iface != NULL, NULL); g_return_val_if_fail (iface != NULL, NULL); g_return_val_if_fail (prop != NULL, NULL); _tmp0_ = main_iface; _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); _tmp2_ = _tmp1_; _tmp3_ = prop; _tmp4_ = vala_symbol_get_name ((ValaSymbol*) _tmp3_); _tmp5_ = _tmp4_; _tmp6_ = g_strdup_printf ("%sdbus_proxy_set_%s", _tmp2_, _tmp5_); _tmp7_ = _tmp6_; _g_free0 (_tmp2_); proxy_name = _tmp7_; _tmp8_ = iface; _tmp9_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp8_); dbus_iface_name = _tmp9_; _tmp10_ = prop; _tmp11_ = vala_property_get_set_accessor (_tmp10_); _tmp12_ = _tmp11_; _tmp13_ = vala_property_accessor_get_value_type (_tmp12_); _tmp14_ = _tmp13_; _tmp15_ = _vala_code_node_ref0 (VALA_IS_ARRAY_TYPE (_tmp14_) ? ((ValaArrayType*) _tmp14_) : NULL); array_type = _tmp15_; _tmp16_ = proxy_name; _tmp17_ = vala_ccode_function_new (_tmp16_, "void"); function = _tmp17_; _tmp18_ = function; vala_ccode_function_set_modifiers (_tmp18_, VALA_CCODE_MODIFIERS_STATIC); _tmp19_ = function; _tmp20_ = iface; _tmp21_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp20_); _tmp22_ = _tmp21_; _tmp23_ = g_strdup_printf ("%s*", _tmp22_); _tmp24_ = _tmp23_; _tmp25_ = vala_ccode_parameter_new ("self", _tmp24_); _tmp26_ = _tmp25_; vala_ccode_function_add_parameter (_tmp19_, _tmp26_); _vala_ccode_node_unref0 (_tmp26_); _g_free0 (_tmp24_); _g_free0 (_tmp22_); _tmp27_ = prop; _tmp28_ = vala_property_get_property_type (_tmp27_); _tmp29_ = _tmp28_; _tmp30_ = vala_data_type_is_real_non_null_struct_type (_tmp29_); if (_tmp30_) { ValaCCodeFunction* _tmp31_; ValaProperty* _tmp32_; ValaPropertyAccessor* _tmp33_; ValaPropertyAccessor* _tmp34_; ValaDataType* _tmp35_; ValaDataType* _tmp36_; gchar* _tmp37_ = NULL; gchar* _tmp38_; gchar* _tmp39_ = NULL; gchar* _tmp40_; ValaCCodeParameter* _tmp41_; ValaCCodeParameter* _tmp42_; _tmp31_ = function; _tmp32_ = prop; _tmp33_ = vala_property_get_set_accessor (_tmp32_); _tmp34_ = _tmp33_; _tmp35_ = vala_property_accessor_get_value_type (_tmp34_); _tmp36_ = _tmp35_; _tmp37_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp36_); _tmp38_ = _tmp37_; _tmp39_ = g_strdup_printf ("%s*", _tmp38_); _tmp40_ = _tmp39_; _tmp41_ = vala_ccode_parameter_new ("value", _tmp40_); _tmp42_ = _tmp41_; vala_ccode_function_add_parameter (_tmp31_, _tmp42_); _vala_ccode_node_unref0 (_tmp42_); _g_free0 (_tmp40_); _g_free0 (_tmp38_); } else { ValaCCodeFunction* _tmp43_; ValaProperty* _tmp44_; ValaPropertyAccessor* _tmp45_; ValaPropertyAccessor* _tmp46_; ValaDataType* _tmp47_; ValaDataType* _tmp48_; gchar* _tmp49_ = NULL; gchar* _tmp50_; ValaCCodeParameter* _tmp51_; ValaCCodeParameter* _tmp52_; ValaArrayType* _tmp53_; _tmp43_ = function; _tmp44_ = prop; _tmp45_ = vala_property_get_set_accessor (_tmp44_); _tmp46_ = _tmp45_; _tmp47_ = vala_property_accessor_get_value_type (_tmp46_); _tmp48_ = _tmp47_; _tmp49_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp48_); _tmp50_ = _tmp49_; _tmp51_ = vala_ccode_parameter_new ("value", _tmp50_); _tmp52_ = _tmp51_; vala_ccode_function_add_parameter (_tmp43_, _tmp52_); _vala_ccode_node_unref0 (_tmp52_); _g_free0 (_tmp50_); _tmp53_ = array_type; if (_tmp53_ != NULL) { { gint dim; dim = 1; { gboolean _tmp54_; _tmp54_ = TRUE; while (TRUE) { gboolean _tmp55_; gint _tmp57_; ValaArrayType* _tmp58_; gint _tmp59_; gint _tmp60_; ValaCCodeFunction* _tmp61_; gint _tmp62_; gchar* _tmp63_ = NULL; gchar* _tmp64_; ValaCCodeParameter* _tmp65_; ValaCCodeParameter* _tmp66_; _tmp55_ = _tmp54_; if (!_tmp55_) { gint _tmp56_; _tmp56_ = dim; dim = _tmp56_ + 1; } _tmp54_ = FALSE; _tmp57_ = dim; _tmp58_ = array_type; _tmp59_ = vala_array_type_get_rank (_tmp58_); _tmp60_ = _tmp59_; if (!(_tmp57_ <= _tmp60_)) { break; } _tmp61_ = function; _tmp62_ = dim; _tmp63_ = g_strdup_printf ("value_length%d", _tmp62_); _tmp64_ = _tmp63_; _tmp65_ = vala_ccode_parameter_new (_tmp64_, "int"); _tmp66_ = _tmp65_; vala_ccode_function_add_parameter (_tmp61_, _tmp66_); _vala_ccode_node_unref0 (_tmp66_); _g_free0 (_tmp64_); } } } } } _tmp67_ = function; vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp67_); _tmp68_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp69_ = _tmp68_; _tmp70_ = vala_ccode_variable_declarator_new ("*_arguments", NULL, NULL); _tmp71_ = _tmp70_; vala_ccode_function_add_declaration (_tmp69_, "GVariant", (ValaCCodeDeclarator*) _tmp71_, 0); _vala_ccode_node_unref0 (_tmp71_); _tmp72_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp73_ = _tmp72_; _tmp74_ = vala_ccode_variable_declarator_new ("*_reply", NULL, NULL); _tmp75_ = _tmp74_; vala_ccode_function_add_declaration (_tmp73_, "GVariant", (ValaCCodeDeclarator*) _tmp75_, 0); _vala_ccode_node_unref0 (_tmp75_); _tmp76_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp77_ = _tmp76_; _tmp78_ = vala_ccode_variable_declarator_new ("_arguments_builder", NULL, NULL); _tmp79_ = _tmp78_; vala_ccode_function_add_declaration (_tmp77_, "GVariantBuilder", (ValaCCodeDeclarator*) _tmp79_, 0); _vala_ccode_node_unref0 (_tmp79_); _tmp80_ = vala_ccode_identifier_new ("g_variant_builder_init"); _tmp81_ = _tmp80_; _tmp82_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp81_); _tmp83_ = _tmp82_; _vala_ccode_node_unref0 (_tmp81_); builder_init = _tmp83_; _tmp84_ = builder_init; _tmp85_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp86_ = _tmp85_; _tmp87_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp86_); _tmp88_ = _tmp87_; vala_ccode_function_call_add_argument (_tmp84_, (ValaCCodeExpression*) _tmp88_); _vala_ccode_node_unref0 (_tmp88_); _vala_ccode_node_unref0 (_tmp86_); _tmp89_ = builder_init; _tmp90_ = vala_ccode_identifier_new ("G_VARIANT_TYPE_TUPLE"); _tmp91_ = _tmp90_; vala_ccode_function_call_add_argument (_tmp89_, (ValaCCodeExpression*) _tmp91_); _vala_ccode_node_unref0 (_tmp91_); _tmp92_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp93_ = _tmp92_; _tmp94_ = builder_init; vala_ccode_function_add_expression (_tmp93_, (ValaCCodeExpression*) _tmp94_); _tmp95_ = ((ValaCCodeBaseModule*) self)->string_type; _tmp96_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp97_ = _tmp96_; _tmp98_ = dbus_iface_name; _tmp99_ = g_strdup_printf ("\"%s\"", _tmp98_); _tmp100_ = _tmp99_; _tmp101_ = vala_ccode_constant_new (_tmp100_); _tmp102_ = _tmp101_; vala_gvariant_module_write_expression ((ValaGVariantModule*) self, _tmp95_, (ValaCCodeExpression*) _tmp97_, (ValaCCodeExpression*) _tmp102_, NULL); _vala_ccode_node_unref0 (_tmp102_); _g_free0 (_tmp100_); _vala_ccode_node_unref0 (_tmp97_); _tmp103_ = ((ValaCCodeBaseModule*) self)->string_type; _tmp104_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp105_ = _tmp104_; _tmp106_ = prop; _tmp107_ = vala_gd_bus_module_get_dbus_name_for_member ((ValaSymbol*) _tmp106_); _tmp108_ = _tmp107_; _tmp109_ = g_strdup_printf ("\"%s\"", _tmp108_); _tmp110_ = _tmp109_; _tmp111_ = vala_ccode_constant_new (_tmp110_); _tmp112_ = _tmp111_; vala_gvariant_module_write_expression ((ValaGVariantModule*) self, _tmp103_, (ValaCCodeExpression*) _tmp105_, (ValaCCodeExpression*) _tmp112_, NULL); _vala_ccode_node_unref0 (_tmp112_); _g_free0 (_tmp110_); _g_free0 (_tmp108_); _vala_ccode_node_unref0 (_tmp105_); _tmp113_ = vala_ccode_identifier_new ("g_variant_builder_open"); _tmp114_ = _tmp113_; _tmp115_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp114_); _tmp116_ = _tmp115_; _vala_ccode_node_unref0 (_tmp114_); builder_open = _tmp116_; _tmp117_ = builder_open; _tmp118_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp119_ = _tmp118_; _tmp120_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp119_); _tmp121_ = _tmp120_; vala_ccode_function_call_add_argument (_tmp117_, (ValaCCodeExpression*) _tmp121_); _vala_ccode_node_unref0 (_tmp121_); _vala_ccode_node_unref0 (_tmp119_); _tmp122_ = builder_open; _tmp123_ = vala_ccode_identifier_new ("G_VARIANT_TYPE_VARIANT"); _tmp124_ = _tmp123_; vala_ccode_function_call_add_argument (_tmp122_, (ValaCCodeExpression*) _tmp124_); _vala_ccode_node_unref0 (_tmp124_); _tmp125_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp126_ = _tmp125_; _tmp127_ = builder_open; vala_ccode_function_add_expression (_tmp126_, (ValaCCodeExpression*) _tmp127_); _tmp128_ = prop; _tmp129_ = vala_property_get_property_type (_tmp128_); _tmp130_ = _tmp129_; _tmp131_ = vala_data_type_is_real_non_null_struct_type (_tmp130_); if (_tmp131_) { ValaProperty* _tmp132_; ValaPropertyAccessor* _tmp133_; ValaPropertyAccessor* _tmp134_; ValaDataType* _tmp135_; ValaDataType* _tmp136_; ValaCCodeIdentifier* _tmp137_; ValaCCodeIdentifier* _tmp138_; ValaCCodeIdentifier* _tmp139_; ValaCCodeIdentifier* _tmp140_; ValaCCodeUnaryExpression* _tmp141_; ValaCCodeUnaryExpression* _tmp142_; ValaProperty* _tmp143_; _tmp132_ = prop; _tmp133_ = vala_property_get_set_accessor (_tmp132_); _tmp134_ = _tmp133_; _tmp135_ = vala_property_accessor_get_value_type (_tmp134_); _tmp136_ = _tmp135_; _tmp137_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp138_ = _tmp137_; _tmp139_ = vala_ccode_identifier_new ("value"); _tmp140_ = _tmp139_; _tmp141_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, (ValaCCodeExpression*) _tmp140_); _tmp142_ = _tmp141_; _tmp143_ = prop; vala_gvariant_module_write_expression ((ValaGVariantModule*) self, _tmp136_, (ValaCCodeExpression*) _tmp138_, (ValaCCodeExpression*) _tmp142_, (ValaSymbol*) _tmp143_); _vala_ccode_node_unref0 (_tmp142_); _vala_ccode_node_unref0 (_tmp140_); _vala_ccode_node_unref0 (_tmp138_); } else { ValaProperty* _tmp144_; ValaPropertyAccessor* _tmp145_; ValaPropertyAccessor* _tmp146_; ValaDataType* _tmp147_; ValaDataType* _tmp148_; ValaCCodeIdentifier* _tmp149_; ValaCCodeIdentifier* _tmp150_; ValaCCodeIdentifier* _tmp151_; ValaCCodeIdentifier* _tmp152_; ValaProperty* _tmp153_; _tmp144_ = prop; _tmp145_ = vala_property_get_set_accessor (_tmp144_); _tmp146_ = _tmp145_; _tmp147_ = vala_property_accessor_get_value_type (_tmp146_); _tmp148_ = _tmp147_; _tmp149_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp150_ = _tmp149_; _tmp151_ = vala_ccode_identifier_new ("value"); _tmp152_ = _tmp151_; _tmp153_ = prop; vala_gvariant_module_write_expression ((ValaGVariantModule*) self, _tmp148_, (ValaCCodeExpression*) _tmp150_, (ValaCCodeExpression*) _tmp152_, (ValaSymbol*) _tmp153_); _vala_ccode_node_unref0 (_tmp152_); _vala_ccode_node_unref0 (_tmp150_); } _tmp154_ = vala_ccode_identifier_new ("g_variant_builder_close"); _tmp155_ = _tmp154_; _tmp156_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp155_); _tmp157_ = _tmp156_; _vala_ccode_node_unref0 (_tmp155_); builder_close = _tmp157_; _tmp158_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp159_ = _tmp158_; _tmp160_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp159_); _tmp161_ = _tmp160_; vala_ccode_function_call_add_argument (builder_close, (ValaCCodeExpression*) _tmp161_); _vala_ccode_node_unref0 (_tmp161_); _vala_ccode_node_unref0 (_tmp159_); _tmp162_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp163_ = _tmp162_; vala_ccode_function_add_expression (_tmp163_, (ValaCCodeExpression*) builder_close); _tmp164_ = vala_ccode_identifier_new ("g_variant_builder_end"); _tmp165_ = _tmp164_; _tmp166_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp165_); _tmp167_ = _tmp166_; _vala_ccode_node_unref0 (_tmp165_); builder_end = _tmp167_; _tmp168_ = vala_ccode_identifier_new ("_arguments_builder"); _tmp169_ = _tmp168_; _tmp170_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp169_); _tmp171_ = _tmp170_; vala_ccode_function_call_add_argument (builder_end, (ValaCCodeExpression*) _tmp171_); _vala_ccode_node_unref0 (_tmp171_); _vala_ccode_node_unref0 (_tmp169_); _tmp172_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp173_ = _tmp172_; _tmp174_ = vala_ccode_identifier_new ("_arguments"); _tmp175_ = _tmp174_; vala_ccode_function_add_assignment (_tmp173_, (ValaCCodeExpression*) _tmp175_, (ValaCCodeExpression*) builder_end); _vala_ccode_node_unref0 (_tmp175_); _tmp176_ = vala_ccode_identifier_new ("g_dbus_proxy_call_sync"); _tmp177_ = _tmp176_; _tmp178_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp177_); _tmp179_ = _tmp178_; _vala_ccode_node_unref0 (_tmp177_); ccall = _tmp179_; _tmp180_ = vala_ccode_identifier_new ("self"); _tmp181_ = _tmp180_; _tmp182_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp181_, "GDBusProxy *"); _tmp183_ = _tmp182_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp183_); _vala_ccode_node_unref0 (_tmp183_); _vala_ccode_node_unref0 (_tmp181_); _tmp184_ = vala_ccode_constant_new ("\"org.freedesktop.DBus.Properties.Set\""); _tmp185_ = _tmp184_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp185_); _vala_ccode_node_unref0 (_tmp185_); _tmp186_ = vala_ccode_identifier_new ("_arguments"); _tmp187_ = _tmp186_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp187_); _vala_ccode_node_unref0 (_tmp187_); _tmp188_ = vala_ccode_constant_new ("G_DBUS_CALL_FLAGS_NONE"); _tmp189_ = _tmp188_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp189_); _vala_ccode_node_unref0 (_tmp189_); _tmp190_ = prop; _tmp191_ = vala_gd_bus_client_module_get_dbus_timeout (self, (ValaSymbol*) _tmp190_); _tmp192_ = _tmp191_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp192_); _vala_ccode_node_unref0 (_tmp192_); _tmp193_ = vala_ccode_constant_new ("NULL"); _tmp194_ = _tmp193_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp194_); _vala_ccode_node_unref0 (_tmp194_); _tmp195_ = vala_ccode_constant_new ("NULL"); _tmp196_ = _tmp195_; vala_ccode_function_call_add_argument (ccall, (ValaCCodeExpression*) _tmp196_); _vala_ccode_node_unref0 (_tmp196_); _tmp197_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp198_ = _tmp197_; _tmp199_ = vala_ccode_identifier_new ("_reply"); _tmp200_ = _tmp199_; vala_ccode_function_add_assignment (_tmp198_, (ValaCCodeExpression*) _tmp200_, (ValaCCodeExpression*) ccall); _vala_ccode_node_unref0 (_tmp200_); _tmp201_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp202_ = _tmp201_; _tmp203_ = vala_ccode_identifier_new ("_reply"); _tmp204_ = _tmp203_; _tmp205_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, (ValaCCodeExpression*) _tmp204_); _tmp206_ = _tmp205_; vala_ccode_function_open_if (_tmp202_, (ValaCCodeExpression*) _tmp206_); _vala_ccode_node_unref0 (_tmp206_); _vala_ccode_node_unref0 (_tmp204_); _tmp207_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp208_ = _tmp207_; vala_ccode_function_add_return (_tmp208_, NULL); _tmp209_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp210_ = _tmp209_; vala_ccode_function_close (_tmp210_); _tmp211_ = vala_ccode_identifier_new ("g_variant_unref"); _tmp212_ = _tmp211_; _tmp213_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp212_); _tmp214_ = _tmp213_; _vala_ccode_node_unref0 (_tmp212_); unref_reply = _tmp214_; _tmp215_ = vala_ccode_identifier_new ("_reply"); _tmp216_ = _tmp215_; vala_ccode_function_call_add_argument (unref_reply, (ValaCCodeExpression*) _tmp216_); _vala_ccode_node_unref0 (_tmp216_); _tmp217_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp218_ = _tmp217_; vala_ccode_function_add_expression (_tmp218_, (ValaCCodeExpression*) unref_reply); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); _tmp219_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp220_ = function; vala_ccode_file_add_function_declaration (_tmp219_, _tmp220_); _tmp221_ = ((ValaCCodeBaseModule*) self)->cfile; _tmp222_ = function; vala_ccode_file_add_function (_tmp221_, _tmp222_); result = proxy_name; _vala_ccode_node_unref0 (unref_reply); _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (builder_end); _vala_ccode_node_unref0 (builder_close); _vala_ccode_node_unref0 (builder_open); _vala_ccode_node_unref0 (builder_init); _vala_ccode_node_unref0 (function); _vala_code_node_unref0 (array_type); _g_free0 (dbus_iface_name); return result; } static void vala_gd_bus_client_module_real_register_dbus_info (ValaCCodeBaseModule* base, ValaCCodeBlock* block, ValaObjectTypeSymbol* sym) { ValaGDBusClientModule * self; ValaObjectTypeSymbol* _tmp0_; ValaObjectTypeSymbol* _tmp1_; gchar* _tmp2_ = NULL; gchar* dbus_iface_name; const gchar* _tmp3_; ValaCCodeIdentifier* _tmp4_; ValaCCodeIdentifier* _tmp5_; ValaCCodeFunctionCall* _tmp6_; ValaCCodeFunctionCall* _tmp7_; ValaCCodeFunctionCall* quark; ValaCCodeFunctionCall* _tmp8_; ValaCCodeConstant* _tmp9_; ValaCCodeConstant* _tmp10_; ValaObjectTypeSymbol* _tmp11_; gchar* _tmp12_ = NULL; gchar* _tmp13_; gchar* _tmp14_; gchar* _tmp15_; ValaCCodeIdentifier* _tmp16_; ValaCCodeIdentifier* _tmp17_; ValaCCodeIdentifier* proxy_type; ValaCCodeIdentifier* _tmp18_; ValaCCodeIdentifier* _tmp19_; ValaCCodeFunctionCall* _tmp20_; ValaCCodeFunctionCall* _tmp21_; ValaCCodeFunctionCall* set_qdata; ValaCCodeFunctionCall* _tmp22_; ValaObjectTypeSymbol* _tmp23_; gchar* _tmp24_ = NULL; gchar* _tmp25_; gchar* _tmp26_ = NULL; gchar* _tmp27_; ValaCCodeIdentifier* _tmp28_; ValaCCodeIdentifier* _tmp29_; ValaCCodeFunctionCall* _tmp30_; ValaCCodeFunctionCall* _tmp31_; ValaCCodeFunctionCall* _tmp32_; ValaCCodeIdentifier* _tmp33_; ValaCCodeCastExpression* _tmp34_; ValaCCodeCastExpression* _tmp35_; ValaCCodeBlock* _tmp36_; ValaCCodeFunctionCall* _tmp37_; ValaCCodeExpressionStatement* _tmp38_; ValaCCodeExpressionStatement* _tmp39_; ValaCCodeIdentifier* _tmp40_; ValaCCodeIdentifier* _tmp41_; ValaCCodeFunctionCall* _tmp42_; ValaCCodeFunctionCall* _tmp43_; ValaCCodeConstant* _tmp44_; ValaCCodeConstant* _tmp45_; ValaCCodeIdentifier* _tmp46_; ValaCCodeIdentifier* _tmp47_; ValaCCodeFunctionCall* _tmp48_; ValaCCodeFunctionCall* _tmp49_; ValaObjectTypeSymbol* _tmp50_; gchar* _tmp51_ = NULL; gchar* _tmp52_; gchar* _tmp53_ = NULL; gchar* _tmp54_; ValaCCodeIdentifier* _tmp55_; ValaCCodeIdentifier* _tmp56_; ValaCCodeFunctionCall* _tmp57_; ValaCCodeFunctionCall* _tmp58_; ValaCCodeFunctionCall* _tmp59_; const gchar* _tmp60_; gchar* _tmp61_ = NULL; gchar* _tmp62_; ValaCCodeConstant* _tmp63_; ValaCCodeConstant* _tmp64_; ValaCCodeBlock* _tmp65_; ValaCCodeFunctionCall* _tmp66_; ValaCCodeExpressionStatement* _tmp67_; ValaCCodeExpressionStatement* _tmp68_; self = (ValaGDBusClientModule*) base; g_return_if_fail (block != NULL); g_return_if_fail (sym != NULL); _tmp0_ = sym; if (!VALA_IS_INTERFACE (_tmp0_)) { return; } _tmp1_ = sym; _tmp2_ = vala_gd_bus_module_get_dbus_name ((ValaTypeSymbol*) _tmp1_); dbus_iface_name = _tmp2_; _tmp3_ = dbus_iface_name; if (_tmp3_ == NULL) { _g_free0 (dbus_iface_name); return; } _tmp4_ = vala_ccode_identifier_new ("g_quark_from_static_string"); _tmp5_ = _tmp4_; _tmp6_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp5_); _tmp7_ = _tmp6_; _vala_ccode_node_unref0 (_tmp5_); quark = _tmp7_; _tmp8_ = quark; _tmp9_ = vala_ccode_constant_new ("\"vala-dbus-proxy-type\""); _tmp10_ = _tmp9_; vala_ccode_function_call_add_argument (_tmp8_, (ValaCCodeExpression*) _tmp10_); _vala_ccode_node_unref0 (_tmp10_); _tmp11_ = sym; _tmp12_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp11_); _tmp13_ = _tmp12_; _tmp14_ = g_strconcat (_tmp13_, "proxy_get_type", NULL); _tmp15_ = _tmp14_; _tmp16_ = vala_ccode_identifier_new (_tmp15_); _tmp17_ = _tmp16_; _g_free0 (_tmp15_); _g_free0 (_tmp13_); proxy_type = _tmp17_; _tmp18_ = vala_ccode_identifier_new ("g_type_set_qdata"); _tmp19_ = _tmp18_; _tmp20_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp19_); _tmp21_ = _tmp20_; _vala_ccode_node_unref0 (_tmp19_); set_qdata = _tmp21_; _tmp22_ = set_qdata; _tmp23_ = sym; _tmp24_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp23_, NULL); _tmp25_ = _tmp24_; _tmp26_ = g_strdup_printf ("%s_type_id", _tmp25_); _tmp27_ = _tmp26_; _tmp28_ = vala_ccode_identifier_new (_tmp27_); _tmp29_ = _tmp28_; vala_ccode_function_call_add_argument (_tmp22_, (ValaCCodeExpression*) _tmp29_); _vala_ccode_node_unref0 (_tmp29_); _g_free0 (_tmp27_); _g_free0 (_tmp25_); _tmp30_ = set_qdata; _tmp31_ = quark; vala_ccode_function_call_add_argument (_tmp30_, (ValaCCodeExpression*) _tmp31_); _tmp32_ = set_qdata; _tmp33_ = proxy_type; _tmp34_ = vala_ccode_cast_expression_new ((ValaCCodeExpression*) _tmp33_, "void*"); _tmp35_ = _tmp34_; vala_ccode_function_call_add_argument (_tmp32_, (ValaCCodeExpression*) _tmp35_); _vala_ccode_node_unref0 (_tmp35_); _tmp36_ = block; _tmp37_ = set_qdata; _tmp38_ = vala_ccode_expression_statement_new ((ValaCCodeExpression*) _tmp37_); _tmp39_ = _tmp38_; vala_ccode_block_add_statement (_tmp36_, (ValaCCodeNode*) _tmp39_); _vala_ccode_node_unref0 (_tmp39_); _tmp40_ = vala_ccode_identifier_new ("g_quark_from_static_string"); _tmp41_ = _tmp40_; _tmp42_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp41_); _vala_ccode_node_unref0 (quark); quark = _tmp42_; _vala_ccode_node_unref0 (_tmp41_); _tmp43_ = quark; _tmp44_ = vala_ccode_constant_new ("\"vala-dbus-interface-name\""); _tmp45_ = _tmp44_; vala_ccode_function_call_add_argument (_tmp43_, (ValaCCodeExpression*) _tmp45_); _vala_ccode_node_unref0 (_tmp45_); _tmp46_ = vala_ccode_identifier_new ("g_type_set_qdata"); _tmp47_ = _tmp46_; _tmp48_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp47_); _vala_ccode_node_unref0 (set_qdata); set_qdata = _tmp48_; _vala_ccode_node_unref0 (_tmp47_); _tmp49_ = set_qdata; _tmp50_ = sym; _tmp51_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp50_, NULL); _tmp52_ = _tmp51_; _tmp53_ = g_strdup_printf ("%s_type_id", _tmp52_); _tmp54_ = _tmp53_; _tmp55_ = vala_ccode_identifier_new (_tmp54_); _tmp56_ = _tmp55_; vala_ccode_function_call_add_argument (_tmp49_, (ValaCCodeExpression*) _tmp56_); _vala_ccode_node_unref0 (_tmp56_); _g_free0 (_tmp54_); _g_free0 (_tmp52_); _tmp57_ = set_qdata; _tmp58_ = quark; vala_ccode_function_call_add_argument (_tmp57_, (ValaCCodeExpression*) _tmp58_); _tmp59_ = set_qdata; _tmp60_ = dbus_iface_name; _tmp61_ = g_strdup_printf ("\"%s\"", _tmp60_); _tmp62_ = _tmp61_; _tmp63_ = vala_ccode_constant_new (_tmp62_); _tmp64_ = _tmp63_; vala_ccode_function_call_add_argument (_tmp59_, (ValaCCodeExpression*) _tmp64_); _vala_ccode_node_unref0 (_tmp64_); _g_free0 (_tmp62_); _tmp65_ = block; _tmp66_ = set_qdata; _tmp67_ = vala_ccode_expression_statement_new ((ValaCCodeExpression*) _tmp66_); _tmp68_ = _tmp67_; vala_ccode_block_add_statement (_tmp65_, (ValaCCodeNode*) _tmp68_); _vala_ccode_node_unref0 (_tmp68_); _vala_ccode_node_unref0 (set_qdata); _vala_ccode_node_unref0 (proxy_type); _vala_ccode_node_unref0 (quark); _g_free0 (dbus_iface_name); } ValaGDBusClientModule* vala_gd_bus_client_module_construct (GType object_type) { ValaGDBusClientModule* self = NULL; self = (ValaGDBusClientModule*) vala_gd_bus_module_construct (object_type); return self; } ValaGDBusClientModule* vala_gd_bus_client_module_new (void) { return vala_gd_bus_client_module_construct (VALA_TYPE_GD_BUS_CLIENT_MODULE); } static void vala_gd_bus_client_module_class_init (ValaGDBusClientModuleClass * klass) { vala_gd_bus_client_module_parent_class = g_type_class_peek_parent (klass); VALA_CCODE_BASE_MODULE_CLASS (klass)->generate_dynamic_method_wrapper = vala_gd_bus_client_module_real_generate_dynamic_method_wrapper; VALA_CCODE_BASE_MODULE_CLASS (klass)->generate_interface_declaration = vala_gd_bus_client_module_real_generate_interface_declaration; VALA_CODE_VISITOR_CLASS (klass)->visit_interface = vala_gd_bus_client_module_real_visit_interface; VALA_CODE_VISITOR_CLASS (klass)->visit_method_call = vala_gd_bus_client_module_real_visit_method_call; VALA_CCODE_BASE_MODULE_CLASS (klass)->register_dbus_info = vala_gd_bus_client_module_real_register_dbus_info; } static void vala_gd_bus_client_module_instance_init (ValaGDBusClientModule * self) { } GType vala_gd_bus_client_module_get_type (void) { static volatile gsize vala_gd_bus_client_module_type_id__volatile = 0; if (g_once_init_enter (&vala_gd_bus_client_module_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ValaGDBusClientModuleClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_gd_bus_client_module_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaGDBusClientModule), 0, (GInstanceInitFunc) vala_gd_bus_client_module_instance_init, NULL }; GType vala_gd_bus_client_module_type_id; vala_gd_bus_client_module_type_id = g_type_register_static (VALA_TYPE_GD_BUS_MODULE, "ValaGDBusClientModule", &g_define_type_info, 0); g_once_init_leave (&vala_gd_bus_client_module_type_id__volatile, vala_gd_bus_client_module_type_id); } return vala_gd_bus_client_module_type_id__volatile; }