mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -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
|
@ -115,20 +115,20 @@ class QAPISchemaVisitor:
|
|||
def visit_array_type(self, name, info, ifcond, element_type):
|
||||
pass
|
||||
|
||||
def visit_object_type(self, name, info, ifcond, base, members, variants,
|
||||
features):
|
||||
def visit_object_type(self, name, info, ifcond, features,
|
||||
base, members, variants):
|
||||
pass
|
||||
|
||||
def visit_object_type_flat(self, name, info, ifcond, members, variants,
|
||||
features):
|
||||
def visit_object_type_flat(self, name, info, ifcond, features,
|
||||
members, variants):
|
||||
pass
|
||||
|
||||
def visit_alternate_type(self, name, info, ifcond, features, variants):
|
||||
pass
|
||||
|
||||
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):
|
||||
pass
|
||||
|
||||
def visit_event(self, name, info, ifcond, features, arg_type, boxed):
|
||||
|
@ -436,12 +436,12 @@ class QAPISchemaObjectType(QAPISchemaType):
|
|||
|
||||
def visit(self, visitor):
|
||||
super().visit(visitor)
|
||||
visitor.visit_object_type(self.name, self.info, self.ifcond,
|
||||
self.base, self.local_members, self.variants,
|
||||
self.features)
|
||||
visitor.visit_object_type_flat(self.name, self.info, self.ifcond,
|
||||
self.members, self.variants,
|
||||
self.features)
|
||||
visitor.visit_object_type(
|
||||
self.name, self.info, self.ifcond, self.features,
|
||||
self.base, self.local_members, self.variants)
|
||||
visitor.visit_object_type_flat(
|
||||
self.name, self.info, self.ifcond, self.features,
|
||||
self.members, self.variants)
|
||||
|
||||
|
||||
class QAPISchemaMember:
|
||||
|
@ -745,12 +745,10 @@ class QAPISchemaCommand(QAPISchemaEntity):
|
|||
|
||||
def visit(self, visitor):
|
||||
super().visit(visitor)
|
||||
visitor.visit_command(self.name, self.info, self.ifcond,
|
||||
self.arg_type, self.ret_type,
|
||||
self.gen, self.success_response,
|
||||
self.boxed, self.allow_oob,
|
||||
self.allow_preconfig,
|
||||
self.features)
|
||||
visitor.visit_command(
|
||||
self.name, self.info, self.ifcond, self.features,
|
||||
self.arg_type, self.ret_type, self.gen, self.success_response,
|
||||
self.boxed, self.allow_oob, self.allow_preconfig)
|
||||
|
||||
|
||||
class QAPISchemaEvent(QAPISchemaEntity):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue