Christophe Fergeau
4b6598dc02
don't #include config.h in generated header files
...
7e30572ab adds a #include <config.h> to the beginning of generated
files. It also does this for generated headers and enums files,
which is not wanted, especially if it's an installed file. This
commit only adds this include for the non-header non-enum case
(hopefully, enums are only generated for use in a .h file).
2012-03-20 15:25:53 +01:00
Marc-André Lureau
bbd93cdb6b
python: remove c-ism trailing ;
2012-03-20 15:25:53 +01:00
Christophe Fergeau
12be0ad2ae
add comment to beginning of autogenerated files
2012-03-20 15:25:52 +01:00
Christophe Fergeau
975ebc9b7d
add config.h to autogenerated files too
...
Modify the python (de)marshaller generator to add #include
<config.h> at the beginning of the C files it generates
2012-03-20 15:25:52 +01:00
Alexander Larsson
1d5d5272e2
Make pointers 32bit in new protocol format
2012-03-20 15:25:45 +01:00
Alexander Larsson
2523cec8c4
Support extra prefix in code generators
...
This is require when we add a new spice.proto for the old (major 1)
protocol description.
2012-03-20 15:25:44 +01:00
Alexander Larsson
38412df9aa
Support creating marshallers that are called indirectly
...
This is needed if we want to switch marshallers depending on what
major version the remote side has.
2012-03-20 15:25:44 +01:00
Alexander Larsson
405900c4a2
Allow multiple --include args
2012-03-20 15:25:43 +01:00
Alexander Larsson
79bd3284c6
Add support for generating message and structure marshallers
2012-03-20 15:25:43 +01:00
Alexander Larsson
809524ac5d
Add python code to automake system
2012-03-20 15:25:43 +01:00