mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
qapi: Consistently put @features parameter right after @ifcond
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200317115459.31821-14-armbru@redhat.com>
This commit is contained in:
parent
013b4efc9b
commit
7b3bc9e28f
7 changed files with 39 additions and 41 deletions
|
@ -46,8 +46,8 @@ class QAPISchemaTestVisitor(QAPISchemaVisitor):
|
|||
print('array %s %s' % (name, element_type.name))
|
||||
self._print_if(ifcond)
|
||||
|
||||
def visit_object_type(self, name, info, ifcond, base, members, variants,
|
||||
features):
|
||||
def visit_object_type(self, name, info, ifcond, features,
|
||||
base, members, variants):
|
||||
print('object %s' % name)
|
||||
if base:
|
||||
print(' base %s' % base.name)
|
||||
|
@ -65,9 +65,9 @@ class QAPISchemaTestVisitor(QAPISchemaVisitor):
|
|||
self._print_if(ifcond)
|
||||
self._print_features(features)
|
||||
|
||||
def visit_command(self, name, info, ifcond, arg_type, ret_type, gen,
|
||||
success_response, boxed, allow_oob, allow_preconfig,
|
||||
features):
|
||||
def visit_command(self, name, info, ifcond, features,
|
||||
arg_type, ret_type, gen, success_response, boxed,
|
||||
allow_oob, allow_preconfig):
|
||||
print('command %s %s -> %s'
|
||||
% (name, arg_type and arg_type.name,
|
||||
ret_type and ret_type.name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue