On 05/02/2014 06:44 AM, Markus Armbruster wrote: > Input and output marshalling functions do it differently. Change them > to work the same: initialize the I/O visitor, use it, clean it up, > initialize the dealloc visitor, use it, clean it up. > > This delays dealloc visitor initialization in output marshalling > functions, and input visitor cleanup in input marshalling functions. > No functional change, but the latter will be convenient when I change > the error handling. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > docs/qapi-code-gen.txt | 8 ++++---- > scripts/qapi-commands.py | 27 ++++++++++++--------------- > 2 files changed, 16 insertions(+), 19 deletions(-)
Tracking what the changes do in the examples certainly made it easier to review. Thanks. Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature