[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] dbus question
- From: "Juerg Billeter" <j bitron ch>
- To: gzsombor gmail com
- Cc: vala-list gnome org
- Subject: Re: [Vala] dbus question
- Date: Wed, 2 Apr 2008 13:01:36 +0200 (CEST)
On Sat, March 29, 2008 10:34, Zsombor wrote:
> I'm trying to call some dbus methods, but I'm confused with the syntax
> little bit. One of the dbus method returns an array of string, the other
> returns an array of string tuples, the dbus types are : 'as' and 'a(ss)'.
> How can I call this methods? If I wrote :
> string[] result = object.SimpleQuery(....);
> Then valac throws the following error:
> error: Assignment: Cannot convert from `string[]' to `string[]?'
>
> And the same happens for the other method, where i've created a 'struct
> response { string key; string value;}'.
The D-Bus support in Vala is still pretty experimental. We should already
support string arrays to some extent but I don't remember right now what
limits we have in that area at the moment. The plan is to add full-fledged
D-Bus client and service support to Vala in the future, however, nobody is
working on that right now.
Juerg
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]