[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Use new Xen public header for product numbers and names
> -----Original Message----- > > What do people think of this preprocessor approach, which I suggested > earlier: > > #define PVDRIVERS_LIST(EACH) \ > EACH(WINDOWS, 0x0001 /* Citrix */, "xensource-windows") \ > ... > I liked it so that's what I did :-) I added a terminator entry for convenience when defining an array. Not needed when defining a switch statement but harmless since it's a case that should never be hit. Paul _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |