]> git.proxmox.com Git - mirror_qemu.git/commit
string-input-visitor: Favor new visit_free() function
authorEric Blake <eblake@redhat.com>
Thu, 9 Jun 2016 16:48:37 +0000 (10:48 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 6 Jul 2016 08:52:04 +0000 (10:52 +0200)
commit7a0525c7be6b38d32d586e3fd12e7377ded21faa
tree06f7dc1da296b1fea7357044989188c7059b585f
parent09204eac9bb513e56992c00c75f32f9d4766256b
string-input-visitor: Favor new visit_free() function

Now that we have a polymorphic visit_free(), we no longer need
string_input_visitor_cleanup(); which in turn means we no longer
need to return a subtype from string_input_visitor_new() nor a
public upcast function.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465490926-28625-7-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/qapi/string-input-visitor.h
qapi/string-input-visitor.c
qom/object.c
tests/test-string-input-visitor.c
tests/test-visitor-serialization.c