On Mon, Sep 14, 2015 at 07:57:46PM +0200, Markus Armbruster wrote: > Rename gen_marshal_input() to gen_marshal(), because the generated > function marshals both arguments and results. > > Rename gen_visitor_input_containers_decl() to gen_marshal_vars(), and > move the other variable declarations there, too. > > Rename gen_visitor_input_block() to gen_marshal_input_visit(), and > rearrange its code slightly. > > Rename gen_marshal_input_decl() to gen_marshal_proto(), because the > result isn't a full declaration, unlike gen_command_decl()'s. > > New gen_marshal_decl() actually returns a full declaration. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > Reviewed-by: Eric Blake <ebl...@redhat.com> > --- > scripts/qapi-commands.py | 87 > ++++++++++++++++++++++-------------------------- > 1 file changed, 39 insertions(+), 48 deletions(-)
Reviewed-by: Daniel P. Berrange <berra...@redhat.com> Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|