[Spice-devel] [spice-common 3/3] codegen: Autogenerate client_marshallers.h

Christophe Fergeau cfergeau at redhat.com
Mon Jun 20 16:07:14 UTC 2016


On Mon, Jun 20, 2016 at 11:46:16AM -0400, Frediano Ziglio wrote:
> 
> Looks good, however in the generated file code starts with
> 
> 
> #include <common/messages.h>
> #include <spice/protocol.h>
> #include "common/marshaller.h"
> 
> #ifndef _GENERATED_HEADERS_H
> #define _GENERATED_HEADERS_H
> 
> 
> beside the mix of "" and <> all headers are using _GENERATED_HEADERS_H macro
> so in theory you cannot include generated_client_marshallers.h and
> generated_server_marshallers.h in the same module.

I had a quick hack for the GENERATE_HEADERS_H thing while working on
this, but in the end it did not seem necessary so I dropped it. I'll try
to fix it again.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160620/d0e606e8/attachment.sig>


More information about the Spice-devel mailing list