[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] question regarding gnu-isms
> I thought the same exact thing myself. Of course, I can't find it in my > tree (xen_create_contiguous_region is a function) so perhaps someone has > already fixed it. Maybe the "0" is a macro </joking> :-) Cheers, Mark > Regards, > > Anthony Liguori > > > Cheers, > > Mark > > > >> #define min(a, b) ({int lhs = a; int rhs = b; (lhs < rhs) ? lhs : rhs;}) > >> > >> All of these are documented in the GCC Info page (see the section on C > >> Extensions). > >> > >> Regards, > >> > >> Anthony Liguori > >> > >>> This looks like the usual ({...}) construction but seems > >>> pointless. The nearest explanation I could gather for this > >>> applies only to C++... surely I'm missing something. :-) > >>> > >>> Thanks, > >>> Aron > >>> > >>> _______________________________________________ > >>> Xen-devel mailing list > >>> Xen-devel@xxxxxxxxxxxxxxxxxxx > >>> http://lists.xensource.com/xen-devel > >> > >> _______________________________________________ > >> Xen-devel mailing list > >> Xen-devel@xxxxxxxxxxxxxxxxxxx > >> http://lists.xensource.com/xen-devel -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |