Re: [Qemu-devel] [PATCH RFC 17/19] qobject: Add a special null QObject

2015-04-29 Thread Markus Armbruster
Eric Blake writes: > On 04/02/2015 11:29 AM, Markus Armbruster wrote: >> I'm going to fix the JSON parser to recognize null. The obvious >> representation of JSON null as (QObject *)NULL doesn't work, because >> the parser already uses it as an error value. Perhaps we should >> change it to fre

Re: [Qemu-devel] [PATCH RFC 17/19] qobject: Add a special null QObject

2015-04-13 Thread Eric Blake
On 04/02/2015 11:29 AM, Markus Armbruster wrote: > I'm going to fix the JSON parser to recognize null. The obvious > representation of JSON null as (QObject *)NULL doesn't work, because > the parser already uses it as an error value. Perhaps we should > change it to free NULL for null, but that's

[Qemu-devel] [PATCH RFC 17/19] qobject: Add a special null QObject

2015-04-02 Thread Markus Armbruster
I'm going to fix the JSON parser to recognize null. The obvious representation of JSON null as (QObject *)NULL doesn't work, because the parser already uses it as an error value. Perhaps we should change it to free NULL for null, but that's more than I can do right now. Create a special null QOb