diff options
author | Eric Blake <eblake@redhat.com> | 2015-11-18 01:52:38 -0700 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-12-17 08:21:26 +0100 |
commit | 7d9586f900a9043025866f84c096b1842b0bbbf6 (patch) | |
tree | 24b265803903fc8db3f78244064ce557362e4d83 /tcg | |
parent | 570cd8d1194cf68f7c9948971e52e47f20855a77 (diff) | |
download | qemu-7d9586f900a9043025866f84c096b1842b0bbbf6.zip qemu-7d9586f900a9043025866f84c096b1842b0bbbf6.tar.gz qemu-7d9586f900a9043025866f84c096b1842b0bbbf6.tar.bz2 |
qapi-types: Simplify gen_struct_field[s]
Simplify gen_struct_fields() back to a single iteration over a
list of fields (like it was prior to commit f87ab7f9), by moving
the generated comments to gen_object(). Then, inline
gen_struct_field() into its only caller.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1447836791-369-4-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions