Annotating arguments and binding tool compatibility
Thiago Macieira
thiago at kde.org
Mon Jun 9 07:37:45 PDT 2008
Will Stephenson wrote:
>I notice that the Qt 4 bindings generator expects DBus method
> _arguments_ to be annotated for complex types so it can generate
> methods with legal signatures; however dbus-binding-tool cannot cope
> with an annotation tag inside an arg tag. This makes upstreaming
> changes to introspection XML to help Qt 4 impossible.
The annotation isn't inside the arg tag. It's inside the method, signal or
property tag. And it takes an identifier (In0, Out1, etc.) because the
annotation is not allowed inside the arg tag.
>Would it be acceptable to clarify the "Introspection Data Format" of the
> spec to allow arguments to be annotated, and to fix dbus-binding-tool
> so that it at least ignores these annotations, assuming it does not
> currently have a use for them?
The spec is clear: "Method, interface, property, and signal elements may
have "annotations", which are generic key/value pairs of metadata."
--
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/20080609/cbb88b78/attachment.pgp
More information about the dbus
mailing list