[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Exposing some type details in the introspection XML?
From:       Thiago Macieira <thiago () kde ! org>
Date:       2020-07-27 15:28:19
Message-ID: 3122448.zS7fopUUWv () tjmaciei-mobl1
[Download RAW message or body]

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



_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic