On 10/26/2015 11:54 AM, Markus Armbruster wrote:
>> It sounds like I have two options for v11:
>>
>> 1. Keep 9/25 introducing gen_upcast(), just for union types, and
>> including testsuite coverage. In 10/25, make use of the upcast functions
>> to struct as part of making structs sane.
>>
>> 2. Sw
Eric Blake writes:
> On 10/26/2015 01:33 AM, Markus Armbruster wrote:
>> Eric Blake writes:
>>
>>> On 10/23/2015 09:30 AM, Markus Armbruster wrote:
Eric Blake writes:
> A previous patch (commit 1e6c1616) made it possible to
> directly cast from a qapi type to its base type. A
On 10/26/2015 01:33 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 10/23/2015 09:30 AM, Markus Armbruster wrote:
>>> Eric Blake writes:
>>>
A previous patch (commit 1e6c1616) made it possible to
directly cast from a qapi type to its base type. A future
patch will do lik
Eric Blake writes:
> On 10/23/2015 09:30 AM, Markus Armbruster wrote:
>> Eric Blake writes:
>>
>>> A previous patch (commit 1e6c1616) made it possible to
>>> directly cast from a qapi type to its base type. A future
>>> patch will do likewise for structs. However, it requires
>>> the client co
On 10/23/2015 09:30 AM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> A previous patch (commit 1e6c1616) made it possible to
>> directly cast from a qapi type to its base type. A future
>> patch will do likewise for structs. However, it requires
>> the client code to use a C cast, which tur
Eric Blake writes:
> A previous patch (commit 1e6c1616) made it possible to
> directly cast from a qapi type to its base type. A future
> patch will do likewise for structs. However, it requires
> the client code to use a C cast, which turns off compiler
> type-safety checks if the client gets i
A previous patch (commit 1e6c1616) made it possible to
directly cast from a qapi type to its base type. A future
patch will do likewise for structs. However, it requires
the client code to use a C cast, which turns off compiler
type-safety checks if the client gets it wrong. So this
patch adds in