diff options
author | Eric Blake <eblake@redhat.com> | 2016-03-03 09:16:43 -0700 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:12 -0600 |
commit | 73076917b2353b3189fb5d91d765bd57acb2b4c4 (patch) | |
tree | bbca268920f40ba90cc1da2d752edccd7038f9b0 /scripts/qapi-event.py | |
parent | a7a3d39bed1f6710350b610ff4fd82891011de4f (diff) | |
download | hqemu-73076917b2353b3189fb5d91d765bd57acb2b4c4.zip hqemu-73076917b2353b3189fb5d91d765bd57acb2b4c4.tar.gz |
qapi: Rename 'fields' to 'members' in generator
C types and JSON objects don't have fields, but members. We
shouldn't gratuitously invent terminology. This patch is a
strict renaming of generator code internals (including testsuite
comments), before later patches rename C interfaces.
No change to generated code with this patch.
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1457021813-10704-2-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-event.py')
-rw-r--r-- | scripts/qapi-event.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qapi-event.py b/scripts/qapi-event.py index 544ae12..fb579dd 100644 --- a/scripts/qapi-event.py +++ b/scripts/qapi-event.py @@ -67,8 +67,8 @@ def gen_event_send(name, arg_type): ''', name=name) ret += gen_err_check() - ret += gen_visit_fields(arg_type.members, need_cast=True, - label='out_obj') + ret += gen_visit_members(arg_type.members, need_cast=True, + label='out_obj') ret += mcgen(''' out_obj: visit_end_struct(v, err ? NULL : &err); |