int32 vs uint32 issues with untyped language bindings

Havoc Pennington hp at redhat.com
Tue Dec 28 09:49:41 PST 2004


On Tue, 2004-12-28 at 10:39 +0100, Julien PUYDT wrote:
> Notice that solving the initial problem with ActivateService would only
> require that ActivateService could take a single string argument and
> have a default for the (until now unimplemented&undocumented anyway)
> flag.
> 
> For the general problem, introspection probably isn't a complete
> solution: can't I write a method that will take different arguments
> depending on the first that is being sent? If so, then how should that
> method be introspected?

If overloading is allowed then the introspection would just return all
possible overloads. Or if you mean a varargs type of thing, that would
be done by having a Variant or Array of Variant type in the signature. 

Havoc




More information about the dbus mailing list