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
..
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
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2017-09-04 13:09:11 +02:00
qbool.c
qdict.c
qjson.c
qlist.c
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
qstring.c