267
272
if (!(m.return_type is VoidType)) {
268
273
if (get_type_signature (m.return_type) == null) {
269
274
Report.error (m.return_type.source_reference, "D-Bus serialization of type `%s' is not supported".printf (m.return_type.to_string ()));
271
276
cdecl = new CCodeDeclaration (m.return_type.get_cname ());
272
277
cdecl.add_declarator (new CCodeVariableDeclarator.zero ("result", default_value_for_type (m.return_type, true)));
273
278
out_prefragment.append (cdecl);