summaryrefslogtreecommitdiffstats
path: root/tests/test-string-output-visitor.c
diff options
context:
space:
mode:
authorMarkus Armbruster2020-04-24 10:43:30 +0200
committerMarkus Armbruster2020-04-30 06:51:15 +0200
commit8b7ce95b46815f274aed52857260cb180f6fade3 (patch)
treedb04709d24ff071b831592ba8451906721791b6a /tests/test-string-output-visitor.c
parentqapi: Assert incomplete object occurs only in dealloc visitor (diff)
downloadqemu-8b7ce95b46815f274aed52857260cb180f6fade3.tar.gz
qemu-8b7ce95b46815f274aed52857260cb180f6fade3.tar.xz
qemu-8b7ce95b46815f274aed52857260cb180f6fade3.zip
qapi: Fix Visitor contract for start_alternate()
The contract demands v->start_alternate() for input and dealloc visitors, but visit_start_alternate() actually requires it for input and clone visitors. Fix the contract, and delete superfluous qapi_dealloc_start_alternate(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200424084338.26803-8-armbru@redhat.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions