diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-09-16 13:06:11 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-09-21 09:56:47 +0200 |
commit | ee44602857660e79f46547de02e26d65bcaf1519 (patch) | |
tree | b1f6a2ee70b331ae2f44347048f3fc848bd5bcf5 /scripts/qapi.py | |
parent | 441cbac0c7e641780decbc674a9a68c6a5200f71 (diff) |
qapi-commands: Convert to QAPISchemaVisitor
Output unchanged apart from reordering and white-space.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1442401589-24189-9-git-send-email-armbru@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
-rw-r--r-- | scripts/qapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi.py b/scripts/qapi.py index c18400d51f..db5bc8533f 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -1442,7 +1442,7 @@ def c_type(value, is_param=False): return c_name(value) + pointer_suffix def is_c_ptr(value): - return c_type(value).endswith(pointer_suffix) + return value.endswith(pointer_suffix) def genindent(count): ret = "" |