signatures
Thiago Macieira
thiago at kde.org
Sun Aug 26 15:52:42 PDT 2007
Yann Leboulanger wrote:
>out_signature for the func in 'av' and signature of the result var is
> a{sv}.
>
>Should the out_signature be a{sv} too ?
Depends on what you're trying to accomplish.
If the a{sv} is just one of the elements in the array of variants that the
function returns, then no, no need to change the signature.
If the function was meant to return a dictionary/map of items, then you
should change the signature to a{sv}.
If the function can return anything, then it should simply be "v".
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070827/4484f88b/attachment.pgp
More information about the dbus
mailing list