aboutsummaryrefslogtreecommitdiff
path: root/qapi/opts-visitor.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-03-17 12:54:40 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-03-17 19:58:34 +0100
commit24cfd6adddb6308eb36dbe55e541718f71a67637 (patch)
tree2c0ca563bfe0d68ac7985e2c385d28d2a05dc45b /qapi/opts-visitor.c
parent2e8a843d19fb563b0a4cc7e8a8df8e60df3e97d5 (diff)
qapi/introspect: Factor out _make_tree()
The value of @qmp_schema_qlit is generated from an expression tree. Tree nodes are created in several places. Factor out the common code into _make_tree(). This isn't much of a win now. It will pay off when we add feature flags in the next few commits. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200317115459.31821-16-armbru@redhat.com>
Diffstat (limited to 'qapi/opts-visitor.c')
0 files changed, 0 insertions, 0 deletions