qemu/qobject
Marc-André Lureau 6da8a7a3b4 qlit: Tighten QLit dict vs QDict comparison
We check that all members of the QLit dictionary are also in the
QDict.  We neglect to check the other direction.

Comparing the number of members suffices, because QDict can't
contain duplicate members, and putting duplicates in a QLit is a
programming error.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170825105913.4060-12-marcandre.lureau@redhat.com>
[Commit message improved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-09-04 13:09:12 +02:00
..
json-lexer.c json: learn to parse uint64 numbers 2017-06-20 14:31:31 +02:00
json-parser.c qapi: Separate type QNull from QObject 2017-07-24 13:35:11 +02:00
json-streamer.c json-streamer: fix double-free on exiting during a parse 2016-07-12 18:31:27 +02:00
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2017-09-04 13:09:11 +02:00
qbool.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00
qdict.c qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
qjson.c qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
qlist.c coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
qlit.c qlit: Tighten QLit dict vs QDict comparison 2017-09-04 13:09:12 +02:00
qnull.c qapi: Separate type QNull from QObject 2017-07-24 13:35:11 +02:00
qnum.c qnum: add uint type 2017-06-20 14:31:31 +02:00
qobject.c qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
qstring.c qobject: Clean up includes 2016-02-04 17:41:30 +00:00