qemu/include/qapi
Markus Armbruster a8aec6de2a qapi: Drop string input visitor method optional()
visit_optional() is to be called only between visit_start_struct() and
visit_end_struct().  Visitors that don't support struct visits,
i.e. don't implement start_struct(), end_struct(), have no use for it.
Clarify documentation.

The string input visitor doesn't support struct visits.  Its
parse_optional() is therefore useless.  Drop it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1488544368-30622-16-git-send-email-armbru@redhat.com>
2017-03-05 09:14:19 +01:00
..
qmp qmp: Eliminate silly QERR_QMP_* macros 2017-03-05 09:14:19 +01:00
clone-visitor.h sockets: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
dealloc-visitor.h include: Fix typos found by codespell 2017-01-24 23:26:52 +03:00
error.h error: error_setg_errno(): errno gets preserved 2017-01-19 15:42:36 +01:00
opts-visitor.h opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
qmp-event.h include: Clean up includes 2016-02-23 12:43:05 +00:00
qobject-input-visitor.h qapi: rename QmpInputVisitor to QObjectInputVisitor 2016-10-25 16:25:54 +02:00
qobject-output-visitor.h qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2016-10-25 16:25:54 +02:00
string-input-visitor.h string-input-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
string-output-visitor.h qapi: Add new visit_complete() function 2016-07-06 10:52:04 +02:00
util.h qom: Make enum string tables const-correct 2015-06-19 18:42:18 +02:00
visitor-impl.h qapi: Drop string input visitor method optional() 2017-03-05 09:14:19 +01:00
visitor.h qapi: Improve qobject input visitor error reporting 2017-03-05 09:14:19 +01:00