Loading scripts/qapi-commands.py +3 −3 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ # See the COPYING file in the top-level directory. from qapi import * import re def gen_command_decl(name, arg_type, boxed, ret_type): Loading Loading @@ -84,7 +83,8 @@ static void qmp_marshal_output_%(c_name)s(%(c_type)s ret_in, QObject **ret_out, def gen_marshal_proto(name): return 'void qmp_marshal_%s(QDict *args, QObject **ret, Error **errp)' % c_name(name) return ('void qmp_marshal_%s(QDict *args, QObject **ret, Error **errp)' % c_name(name)) def gen_marshal_decl(name): Loading scripts/qapi-visit.py +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ # See the COPYING file in the top-level directory. from qapi import * import re def gen_visit_decl(name, scalar=False): Loading scripts/qapi.py +4 −4 Original line number Diff line number Diff line Loading @@ -11,13 +11,13 @@ # This work is licensed under the terms of the GNU GPL, version 2. # See the COPYING file in the top-level directory. import re from ordereddict import OrderedDict import errno import getopt import os import sys import re import string import sys from ordereddict import OrderedDict builtin_types = { 'str': 'QTYPE_QSTRING', Loading Loading
scripts/qapi-commands.py +3 −3 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ # See the COPYING file in the top-level directory. from qapi import * import re def gen_command_decl(name, arg_type, boxed, ret_type): Loading Loading @@ -84,7 +83,8 @@ static void qmp_marshal_output_%(c_name)s(%(c_type)s ret_in, QObject **ret_out, def gen_marshal_proto(name): return 'void qmp_marshal_%s(QDict *args, QObject **ret, Error **errp)' % c_name(name) return ('void qmp_marshal_%s(QDict *args, QObject **ret, Error **errp)' % c_name(name)) def gen_marshal_decl(name): Loading
scripts/qapi-visit.py +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ # See the COPYING file in the top-level directory. from qapi import * import re def gen_visit_decl(name, scalar=False): Loading
scripts/qapi.py +4 −4 Original line number Diff line number Diff line Loading @@ -11,13 +11,13 @@ # This work is licensed under the terms of the GNU GPL, version 2. # See the COPYING file in the top-level directory. import re from ordereddict import OrderedDict import errno import getopt import os import sys import re import string import sys from ordereddict import OrderedDict builtin_types = { 'str': 'QTYPE_QSTRING', Loading