unicorn/qemu/include
Eric Blake 994490d197
qapi: Shorter visits of optional fields
For less code, reflect the determined boolean value of an optional
visit back to the caller instead of making the caller read the
boolean after the fact.

The resulting generated code has the following diff:

|- visit_optional(v, &has_fdset_id, "fdset-id");
|- if (has_fdset_id) {
|+ if (visit_optional(v, &has_fdset_id, "fdset-id")) {
| visit_type_int(v, &fdset_id, "fdset-id", &err);
| if (err) {
| goto out;
| }
| }

Backports commit 29637a6ee913df8fcdf371426ee48956b945b618 from qemu
2018-02-19 22:03:23 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec uc: Handle freeing of multiple address spaces 2018-02-18 21:36:50 -05:00
fpu fpu: Replace uint8 typedef with uint8_t 2018-02-19 00:34:41 -05:00
hw apic_internal.h: fix formatting and drop unused consts 2018-02-17 15:23:54 -05:00
qapi qapi: Shorter visits of optional fields 2018-02-19 22:03:23 -05:00
qemu qapi: Convert QType into QAPI built-in enum type 2018-02-19 21:47:05 -05:00
qom qom/cpu: Add MemoryRegion property 2018-02-18 21:54:50 -05:00
sysemu oslib-win32: Change return type of function getpagesize 2018-02-17 19:10:37 -05:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h fix merge conflicts 2017-03-10 21:04:33 +08:00
glib_compat.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
qemu-common.h osdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h 2018-02-17 20:47:28 -05:00