unicorn/qemu/include
Markus Armbruster f89de73110
qdict qlist: Make most helper macros functions
The macro expansions of qdict_put_TYPE() and qlist_append_TYPE() need
qbool.h, qnull.h, qnum.h and qstring.h to compile. We include qnull.h
and qnum.h in the headers, but not qbool.h and qstring.h. Works,
because we include those wherever the macros get used.

Open-coding these helpers is of dubious value. Turn them into
functions and drop the includes from the headers.

This cleanup makes the number of objects depending on qapi/qmp/qnum.h
from 4551 (out of 4743) to 46 in my "build everything" tree. For
qapi/qmp/qnull.h, the number drops from 4552 to 21.

Backports commit 15280c360e54a65e2c7be1a47bfbe41dce1ef986 from qemu
2018-03-08 08:30:10 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec accel/tcg: add size paremeter in tlb_fill() 2018-03-06 10:56:34 -05:00
fpu softfloat: define floatx80_round() 2018-03-03 20:57:27 -05:00
hw boards.h: Define new flag ignore_memory_transaction_failures 2018-03-04 21:27:15 -05:00
qapi qdict qlist: Make most helper macros functions 2018-03-08 08:30:10 -05:00
qemu qapi: Introduce a first class 'null' type 2018-03-07 16:52:41 -05:00
qom cpu:Remove unused callbacks 2018-03-07 16:55:46 -05:00
sysemu tcg: add options for enabling MTTCG 2018-03-02 09:25:01 -05:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h tcg/s390: Use constant pool for movi 2018-03-04 22:32:04 -05:00
glib_compat.h qapi: Improve qobject input visitor error reporting 2018-03-02 12:05:53 -05:00
qemu-common.h tcg: Add EXCP_ATOMIC 2018-02-27 11:57:58 -05:00