[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] qapi-dealloc: Reduce use outside of generat
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] qapi-dealloc: Reduce use outside of generated code |
Date: |
Wed, 24 Feb 2016 14:17:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Blake <address@hidden> writes:
> No need to roll our own use of the dealloc visitors when we can
> just directly use the qapi_free_FOO() functions that do what we
> want in one line.
>
> In net.c, inline net_visit() into its remaining lone caller.
>
> After this patch, test-visitor-serialization.c is the only
> non-generated file that needs to use a dealloc visitor, because
> it is testing low level aspects of the visitor interface.
>
> Signed-off-by: Eric Blake <address@hidden>
Much better.
Applied to my qapi-next branch, thanks!