unicorn/qemu/qobject
Marc-André Lureau 2caf90cb2b
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.

Backports commit cbb654052600c376d5ee3401c98a25d09d11a154 from qemu
2018-03-07 21:10:40 -05:00
..
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2018-03-07 17:08:17 -05:00
qbool.c
qdict.c qapi: merge QInt and QFloat in QNum 2018-03-03 18:16:28 -05:00
qlist.c
qlit.c qlit: Tighten QLit list vs QList comparison 2018-03-07 21:10:40 -05:00
qnull.c qapi: Separate type QNull from QObject 2018-03-07 16:43:51 -05:00
qnum.c Include qapi/error.h exactly where needed 2018-03-07 12:26:38 -05:00
qobject.c qapi: merge QInt and QFloat in QNum 2018-03-03 18:16:28 -05:00
qstring.c