diff options
author | Eric Blake | 2016-06-09 18:48:39 +0200 |
---|---|---|
committer | Markus Armbruster | 2016-07-06 10:52:04 +0200 |
commit | e7ca56562990991bc614a43b9351ee0737f3045d (patch) | |
tree | 578db0dfd0af98fdf0634cf5ca5d6dba680d7b7f /include/qapi/string-output-visitor.h | |
parent | qmp-input-visitor: Favor new visit_free() function (diff) | |
download | qemu-e7ca56562990991bc614a43b9351ee0737f3045d.tar.gz qemu-e7ca56562990991bc614a43b9351ee0737f3045d.tar.xz qemu-e7ca56562990991bc614a43b9351ee0737f3045d.zip |
string-output-visitor: Favor new visit_free() function
Now that we have a polymorphic visit_free(), we no longer need
string_output_visitor_cleanup(); however, we still need to
expose the subtype for string_output_get_string().
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465490926-28625-9-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-output-visitor.h')
-rw-r--r-- | include/qapi/string-output-visitor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qapi/string-output-visitor.h b/include/qapi/string-output-visitor.h index e10522a35b..03e377e50b 100644 --- a/include/qapi/string-output-visitor.h +++ b/include/qapi/string-output-visitor.h @@ -23,7 +23,6 @@ typedef struct StringOutputVisitor StringOutputVisitor; * requires a non-null list argument to visit_start_list(). */ StringOutputVisitor *string_output_visitor_new(bool human); -void string_output_visitor_cleanup(StringOutputVisitor *v); char *string_output_get_string(StringOutputVisitor *v); Visitor *string_output_get_visitor(StringOutputVisitor *v); |