unicorn/qemu/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
..
common.json qapi: Add alias for ErrorClass 2018-02-19 20:38:51 -05:00
Makefile.objs remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
qapi-dealloc-visitor.c qapi: Drop unused 'kind' for struct/enum visit 2018-02-19 23:43:54 -05:00
qapi-visit-core.c qapi: Drop unused 'kind' for struct/enum visit 2018-02-19 23:43:54 -05:00
qmp-input-visitor.c qapi: Drop unused 'kind' for struct/enum visit 2018-02-19 23:43:54 -05:00
qmp-output-visitor.c qapi: Drop unused 'kind' for struct/enum visit 2018-02-19 23:43:54 -05:00
string-input-visitor.c qapi: Swap 'name' in visit_* callbacks to match public API 2018-02-19 23:36:52 -05:00