qemu-e2k/qobject
Marc-André Lureau cbb6540526 qlit: Tighten QLit list vs QList comparison
We check that all members of the QLit list are also in the QList.  We
neglect to check the other direction.  Fix that.

While there, use QLIST_FOREACH_ENTRY() to simplify the code and break
the loop on the first mismatch.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170825105913.4060-13-marcandre.lureau@redhat.com>
[Commit message improved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-09-04 13:09:12 +02:00
..
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2017-09-04 13:09:11 +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
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 list vs QList 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