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

Backports commit 6da8a7a3b444211914418d2b3c7dc615d70a7d2d from qemu
2018-03-07 21:09:22 -05:00
..
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2018-03-07 17:08:17 -05:00
qbool.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qdict.c qapi: merge QInt and QFloat in QNum 2018-03-03 18:16:28 -05:00
qlist.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qlit.c qlit: Tighten QLit dict vs QDict comparison 2018-03-07 21:09:22 -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 qobject: Simplify QObject 2018-02-19 21:37:48 -05:00