Re: [PATCH spice-common] codegen: Define identity macros for enum types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 16, 2017 at 07:12:17AM -0500, Frediano Ziglio wrote:
> > 
> > Hey,
> > 
> > Some concrete examples of what you are going to do with it would be
> > useful ;)
> > 
> > Christophe
> > 
> > On Mon, Nov 13, 2017 at 01:16:32PM +0000, Frediano Ziglio wrote:
> > > An identity macro in C is a macro defined as
> > > 
> > >   #define SOME_NAME SOME_NAME
> > > 
> > > They are often used to make possible to use preprocessor to check
> > > for values existence like
> > > 
> > >   #ifdef SOME_NAME
> > >   ... use SOME_NAME ...
> > >   #endif
> 
> This IMO is a concrete example. A more concrete would be another
> commit but looks weird putting a hash to a not merged commit.
> Or should I inline the commit here?

I would replace this with some real names, and some real code (or at
a sentence describing something in SPICE context).

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]