qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3] qapi: skip redundant includes


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v3] qapi: skip redundant includes
Date: Fri, 27 Jun 2014 17:14:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Benoît Canet <address@hidden> writes:

> The purpose of this change is to help create a json file containing
> common definitions; each bit of generated C code must be emitted
> only one time.
>
> A second history global to all QAPISchema instances has been added
> to detect when a file is included more than one time and skip these
> includes.
> It does not act as a stack and the changes made to it by the
> __init__ function are propagated back to the caller so it's really
> a global state.
>
> Signed-off-by: Benoit Canet <address@hidden>

Committed a couple of weeks ago as 24fd848.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]