qemu/include/qapi
Markus Armbruster 481b002cc8 qobject: Add a special null QObject
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 QObject instead.

The existing QDict, QList, and QString all represent something that
is a pointer in C and could therefore be associated with NULL.  But
right now, all three of these sub-types are always non-null once
created, so the new null sentinel object is intentionally unrelated
to them.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2015-05-11 08:59:07 -04:00
..
qmp qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
dealloc-visitor.h
error.h error: New convenience function error_report_err() 2015-02-18 10:50:43 +01:00
opts-visitor.h
qmp-event.h qapi: add event helper functions 2014-06-23 11:01:25 -04:00
qmp-input-visitor.h
qmp-output-visitor.h
string-input-visitor.h
string-output-visitor.h
util.h rename parse_enum_option to qapi_enum_parse and make it public 2014-09-08 11:12:43 +01:00
visitor-impl.h qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00
visitor.h qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00