unicorn/qemu/include
Eric Blake 9ec25b4673
qom: Swap 'name' next to visitor in ObjectPropertyAccessor
Similar to the previous patch, it's nice to have all functions
in the tree that involve a visitor and a name for conversion to
or from QAPI to consistently stick the 'name' parameter next
to the Visitor parameter.

Done by manually changing include/qom/object.h and qom/object.c,
then running this Coccinelle script and touching up the fallout
(Coccinelle insisted on adding some trailing whitespace).

@ rule1 @
identifier fn;
typedef Object, Visitor, Error;
identifier obj, v, opaque, name, errp;
@@
void fn
- (Object *obj, Visitor *v, void *opaque, const char *name,
+ (Object *obj, Visitor *v, const char *name, void *opaque,
Error **errp) { ... }

@@
identifier rule1.fn;
expression obj, v, opaque, name, errp;
@@
fn(obj, v,
- opaque, name,
+ name, opaque,
errp)

Backports commit d7bce9999df85c56c8cb1fcffd944d51bff8ff48 from qemu
2018-02-19 23:14:37 -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: Swap visit_* arguments for consistent 'name' placement 2018-02-19 22:45:07 -05:00
qemu qapi: Convert QType into QAPI built-in enum type 2018-02-19 21:47:05 -05:00
qom qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2018-02-19 23:14:37 -05:00
sysemu oslib-win32: Change return type of function getpagesize 2018-02-17 19:10:37 -05:00
config.h
elf.h
glib_compat.h
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