unicorn/qemu/include/qapi
Eric Blake 3aba81d5aa
qapi: Drop unused error argument for list and implicit struct
No backend was setting an error when ending the visit of a list or
implicit struct, or when moving to the next list node. Make the
callers a bit easier to follow by making this a part of the contract,
and removing the errp argument - callers can then unconditionally end
an object as part of cleanup without having to think about whether a
second error is dominated by a first, because there is no second
error.

A later patch will then tackle the larger task of splitting
visit_end_struct(), which can indeed set an error.

Backports commit 08f9541dec51700abef0c37994213164ca4e4fc9 from qemu
2018-02-19 12:59:54 -05:00
..
qmp qobject: Protect against use-after-free in qobject_decref() 2018-02-17 17:28:27 -05:00
dealloc-visitor.h import 2015-08-21 15:04:50 +08:00
error.h error: Improve documentation 2018-02-17 20:52:49 -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 error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
visitor.h qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00