Exposing some type details in the introspection XML?

Thiago Macieira thiago at kde.org
Mon Jul 27 15:28:19 UTC 2020


On Sunday, 26 July 2020 23:30:44 PDT Matthew Bromley-Barratt wrote:
> Are there any spare bits in the existing interface to allow a dBus object to
> support 2 different marshalling formats (e.g. the existing one and, say,
> GPB)?

No.

I mean, there are spare header bits, but the marshalling can't change. The 
best you can do is set a bit and transport one ARRAY of BYTE, then let the 
other side decide how (or if) to decode it.

Which you can do today already and agree on this extra decoding by setting an 
annotation in the XML.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering





More information about the dbus mailing list