unicorn/qemu
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
..
accel
crypto
default-configs
docs
fpu
hw Include qapi/error.h exactly where needed 2018-03-07 12:26:38 -05:00
include qdict qlist: Make most helper macros functions 2018-03-08 08:30:10 -05:00
qapi qdict qlist: Make most helper macros functions 2018-03-08 08:30:10 -05:00
qobject qdict qlist: Make most helper macros functions 2018-03-08 08:30:10 -05:00
qom
scripts qapi: Fix error handling code on alternate conflict 2018-03-07 16:57:59 -05:00
target sparc: move adhoc CPUSPARCState initialization to realize time 2018-03-07 21:40:33 -05:00
tcg tcg/aarch64: Add vector operations 2018-03-07 08:07:58 -05:00
util
aarch64.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
aarch64eb.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
accel.c
arm.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
armeb.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
atomic_template.h
CODING_STYLE
configure tcg: Add generic vector expanders 2018-03-06 13:42:52 -05:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c
cpus.c Include qapi/error.h exactly where needed 2018-03-07 12:26:38 -05:00
cputlb.c accel/tcg: add size paremeter in tlb_fill() 2018-03-06 10:56:34 -05:00
exec.c
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py qdict qlist: Make most helper macros functions 2018-03-08 08:30:10 -05:00
ioport.c
LICENSE
m68k.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
Makefile qapi: force a UTF-8 locale for running Python 2018-03-06 11:32:48 -05:00
Makefile.objs
Makefile.target tcg: Add generic vector expanders 2018-03-06 13:42:52 -05:00
memory.c
memory_ldst.inc.c
memory_mapping.c
mips.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
mips64.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
mips64el.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
mipsel.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
powerpc.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
qapi-schema.json
qemu-timer.c
rules.mak build-sys: silence make by default or V=0 2018-03-06 08:58:03 -05:00
softmmu_template.h accel/tcg: add size paremeter in tlb_fill() 2018-03-06 10:56:34 -05:00
sparc.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
sparc64.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
tcg-runtime-gvec.c tcg: Add generic vector helpers with a scalar operand 2018-03-06 16:10:09 -05:00
tcg-runtime.c
translate-all.c
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c Include qapi/error.h exactly where needed 2018-03-07 12:26:38 -05:00
vl.h
x86_64.h qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00