unicorn/qemu
Markus Armbruster 105a6be9b0
qobject: Add a special null QObject
I'm going to fix the JSON parser to recognize null. The obvious
representation of JSON null as (QObject *)NULL doesn't work, because
the parser already uses it as an error value. Perhaps we should
change it to free NULL for null, but that's more than I can do right
now. Create a special null QObject instead.

The existing QDict, QList, and QString all represent something that
is a pointer in C and could therefore be associated with NULL. But
right now, all three of these sub-types are always non-null once
created, so the new null sentinel object is intentionally unrelated
to them.

Backports commit 481b002cc81ed7fc7b06e32e9d4d495d81739d14 from qemu
2018-02-19 21:25:58 -05:00
..
crypto
default-configs
docs
fpu all: Clean up includes 2018-02-19 01:34:28 -05:00
hw
include qobject: Add a special null QObject 2018-02-19 21:25:58 -05:00
qapi qapi: Add alias for ErrorClass 2018-02-19 20:38:51 -05:00
qobject qobject: Add a special null QObject 2018-02-19 21:25:58 -05:00
qom qapi: Consistent generated code: prefer visitor 'v' 2018-02-19 18:21:53 -05:00
scripts qapi: Change munging of CamelCase enum values 2018-02-19 20:40:15 -05:00
target-arm tcg: Remove lingering references to gen_opc_buf 2018-02-19 01:42:55 -05:00
target-i386 tcg: Remove lingering references to gen_opc_buf 2018-02-19 01:42:55 -05:00
target-m68k m68k: Clean up includes 2018-02-19 01:06:05 -05:00
target-mips
target-sparc
tcg tcg: Introduce temp_load 2018-02-19 11:44:01 -05:00
util util: Clean up includes 2018-02-19 01:27:55 -05:00
aarch64.h
aarch64eb.h
accel.c all: Clean up includes 2018-02-19 01:34:28 -05:00
arm.h
armeb.h
CODING_STYLE
configure
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c
cpus.c
cputlb.c
exec.c
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py
ioport.c all: Clean up includes 2018-02-19 01:34:28 -05:00
LICENSE
m68k.h
Makefile qapi: Turn generators' mandatory option -i into an argument 2018-02-19 15:22:27 -05:00
Makefile.objs
Makefile.target
memory.c
memory_mapping.c all: Clean up includes 2018-02-19 01:34:28 -05:00
mips.h
mips64.h
mips64el.h
mipsel.h
powerpc.h
qapi-schema.json qapi: Lazy creation of array types 2018-02-19 18:55:35 -05:00
qemu-log.c all: Clean up includes 2018-02-19 01:34:28 -05:00
qemu-timer.c all: Clean up includes 2018-02-19 01:34:28 -05:00
rules.mak
softmmu_template.h
sparc.h
sparc64.h
tcg-runtime.c all: Clean up includes 2018-02-19 01:34:28 -05:00
translate-all.c all: Clean up includes 2018-02-19 01:34:28 -05:00
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h