unicorn/qemu/include/qapi
Eric Blake 1f54314cbb
qapi: Drop unused 'kind' for struct/enum visit
visit_start_struct() and visit_type_enum() had a 'kind' argument
that was usually set to either the stringized version of the
corresponding qapi type name, or to NULL (although some clients
didn't even get that right). But nothing ever used the argument.
It's even hard to argue that it would be useful in a debugger,
as a stack backtrace also tells which type is being visited.

Therefore, drop the 'kind' argument as dead.

Backports commit 337283dffbb5ad5860ed00408a5fd0665c21be07 from qemu
2018-02-19 23:43:54 -05:00
..
qmp qapi: Convert QType into QAPI built-in enum type 2018-02-19 21:47:05 -05:00
dealloc-visitor.h import 2015-08-21 15:04:50 +08:00
error.h qapi: Change munging of CamelCase enum values 2018-02-19 20:40:15 -05:00
qmp-input-visitor.h import 2015-08-21 15:04:50 +08:00
qmp-output-visitor.h import 2015-08-21 15:04:50 +08:00
string-input-visitor.h import 2015-08-21 15:04:50 +08:00
visitor-impl.h qapi: Drop unused 'kind' for struct/enum visit 2018-02-19 23:43:54 -05:00
visitor.h qapi: Drop unused 'kind' for struct/enum visit 2018-02-19 23:43:54 -05:00