Benoît Canet 24fd848950 qapi: skip redundant includes
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 <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-05-16 10:35:59 -04:00
..
2014-04-28 11:03:32 +02:00
2013-10-26 13:04:12 +04:00
2011-07-08 11:25:56 +02:00
2014-02-25 14:30:28 +01:00
2013-04-03 11:39:43 +02:00
2013-03-22 13:25:07 +01:00
2012-08-08 13:51:11 +02:00