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-14 15:13:27 +03:00
2014-03-27 19:22:49 +04:00
2013-10-28 17:34:42 +01:00
2014-05-16 10:35:59 -04:00
2014-05-15 13:41:19 +01:00
2014-05-07 21:00:43 +04:00
2014-04-27 13:04:18 +04:00
2014-05-05 20:58:33 +02:00
2014-03-24 12:37:36 +02:00
2013-11-07 13:58:58 +01:00
2013-11-19 10:28:14 +01:00
2012-03-12 15:14:07 +01:00
2014-02-21 22:18:26 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2013-04-13 19:40:25 +00:00
2012-12-19 08:31:31 +01:00
2013-12-24 17:27:17 +01:00
2012-12-19 08:31:31 +01:00
2014-04-28 11:03:39 +02:00
2014-02-14 16:22:33 +01:00
2014-02-14 16:22:33 +01:00
2014-02-17 23:10:02 +01:00
2014-05-05 20:58:33 +02:00
2014-01-22 12:07:16 +01:00
2014-02-17 23:10:02 +01:00
2013-11-19 10:28:14 +01:00
2014-02-20 13:05:48 +00:00
2014-03-31 22:36:17 +02:00
2014-01-22 12:07:16 +01:00
2014-05-05 20:58:33 +02:00
2014-05-05 20:58:33 +02:00
2014-02-14 21:07:13 +01:00
2014-05-05 20:58:33 +02:00
2014-03-31 22:36:16 +02:00
2014-02-17 23:10:02 +01:00
2014-05-16 10:35:59 -04:00
2014-02-14 20:50:19 +01:00
2014-03-31 22:35:03 +02:00
2014-02-14 16:22:33 +01:00
2014-03-31 22:36:17 +02:00
2014-03-12 20:13:02 +01:00
2014-02-28 18:59:06 +01:00
2014-03-13 01:21:45 +01:00
2014-02-17 23:10:02 +01:00
2014-02-14 16:22:33 +01:00
2014-03-13 01:21:57 +01:00
2014-03-31 22:35:02 +02:00
2013-11-05 19:59:43 -08:00
2013-11-28 10:30:52 +01:00
2013-02-04 14:38:33 -06:00
2013-01-25 18:18:35 +01:00
2014-03-02 17:20:37 +04:00
2013-01-02 15:58:09 +01:00
2013-02-17 14:28:58 +00:00
2013-11-05 19:59:43 -08:00
2013-08-16 18:44:33 +02:00
2014-03-11 09:07:42 -04:00
2014-05-15 14:00:46 -04:00
2014-05-15 14:00:46 -04:00
2014-05-15 14:00:46 -04:00
2014-03-13 14:42:21 +01:00
2014-05-08 14:20:00 -04:00
2014-05-08 14:20:00 -04:00
2013-08-22 19:10:27 +02:00
2013-10-26 13:01:57 +04:00
2014-05-15 14:00:46 -04:00
2014-05-14 15:24:51 +02:00
2013-01-27 14:34:27 +01:00
2013-02-01 08:32:20 +01:00
2014-03-31 23:03:14 +02:00
2014-02-14 21:02:27 +01:00
2014-05-05 20:58:33 +02:00
2014-03-31 22:35:50 +02:00
2014-03-13 01:21:56 +01:00
2014-03-13 01:21:56 +01:00
2014-03-13 21:12:07 +01:00
2014-02-14 21:01:03 +01:00
2014-03-13 01:21:56 +01:00
2014-03-13 01:21:56 +01:00
2014-03-13 01:21:57 +01:00
2014-02-14 16:22:33 +01:00