[Spice-devel] [PATCH spice-common 3/9] codegen: Generate headers while generating code

Christophe Fergeau cfergeau at redhat.com
Mon Mar 11 13:04:15 UTC 2019


On Fri, Mar 08, 2019 at 04:42:24PM -0500, Frediano Ziglio wrote:
> > 
> > 
> > Bit unsure about the option name. --header-name maybe? Or just infer it
> > from the .c file name?
> > 
> 
> It's similar to --generate-enums and similars. Yes, on the other end this
> option is an additional generation and has a parameter so it not a big
> match indeed. The infer of the header is a good suggestion.
> Maybe a --generate-also-header ?

I don't like the -also- ;) I don't think it's worth debating the name
for ages, if --generate-header is good for you, let's go for it for
consistency with --generate-enus & friends (which I did not notice
before).

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


More information about the Spice-devel mailing list