unicorn/qemu/include/qapi
Sascha Silbe 11c66029b7
error: error_setg_errno(): errno gets preserved
C11 allows errno to be clobbered by pretty much any library function
call, so in general callers need to take care to save errno before
calling other functions.

However, for error reporting functions this is rather awkward and can
make the code on the caller side more complicated than
necessary. error_setg_errno() already takes care of preserving errno
and some functions rely on that, so just promise that we continue to
do so in the future.

Backports commit 98cb89af4df7e1776ce418ed6167b6e214a64435 from qemu
2018-03-01 23:38:25 -05:00
..
qmp qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2018-02-27 08:05:33 -05:00
clone-visitor.h qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
dealloc-visitor.h qapi: Add new visit_free() function 2018-02-25 01:05:41 -05:00
error.h error: error_setg_errno(): errno gets preserved 2018-03-01 23:38:25 -05:00
qobject-input-visitor.h qapi: rename QmpInputVisitor to QObjectInputVisitor 2018-02-26 15:54:15 -05:00
qobject-output-visitor.h qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2018-02-27 08:05:33 -05:00
string-input-visitor.h string-input-visitor: Favor new visit_free() function 2018-02-25 01:08:04 -05:00
visitor-impl.h qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
visitor.h Clean up header guards that don't match their file name 2018-02-25 04:18:42 -05:00