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-parser.c
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
qnum.c
qobject.c
qstring.c