diff options
author | Eric Blake <eblake@redhat.com> | 2016-06-09 10:48:37 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-06 10:52:04 +0200 |
commit | 7a0525c7be6b38d32d586e3fd12e7377ded21faa (patch) | |
tree | 06f7dc1da296b1fea7357044989188c7059b585f /include/qapi/string-input-visitor.h | |
parent | 09204eac9bb513e56992c00c75f32f9d4766256b (diff) | |
download | qemu-7a0525c7be6b38d32d586e3fd12e7377ded21faa.zip |
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>
Diffstat (limited to 'include/qapi/string-input-visitor.h')
-rw-r--r-- | include/qapi/string-input-visitor.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/qapi/string-input-visitor.h b/include/qapi/string-input-visitor.h index 7b76c2b9e3..33551340e3 100644 --- a/include/qapi/string-input-visitor.h +++ b/include/qapi/string-input-visitor.h @@ -22,9 +22,6 @@ typedef struct StringInputVisitor StringInputVisitor; * QAPI structs, alternates, null, or arbitrary QTypes. It also * requires a non-null list argument to visit_start_list(). */ -StringInputVisitor *string_input_visitor_new(const char *str); -void string_input_visitor_cleanup(StringInputVisitor *v); - -Visitor *string_input_get_visitor(StringInputVisitor *v); +Visitor *string_input_visitor_new(const char *str); #endif |