Re: Re: send_action_list vala



Thanks for the patch. I added the "out" and works well.
Now I'm trying GetProtocolInfo but i get any results. The list values is empty.

var in_names = new List<string> ();
var in_values = new List<Value?> ();

var out_names = new List<string> ();
var out_types = new List<Type> ();
var out_values = new List<Value?> ();

try {
   proxy.send_action_list("GetProtocolInfo",in_names,in_values,out_names,out_types,out
out_values);
} catch (Error err) {
   stdout.printf ("%s\n",err.message);
}	

foreach (Value? element in out_values) {
    stdout.printf ("ProtocolInfo: %s\n",(string)element);
}

I do not know where to look.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]