Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Eric Sosman <esosman@ieee-dot-org.invalid> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Macro still floating above my head |
| Date | 2012-02-25 11:26 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jib241$5b3$1@dont-email.me> (permalink) |
| References | <3548629.310.1330185767588.JavaMail.geo-discussion-forums@vbux23> |
On 2/25/2012 11:02 AM, janus wrote:
> Hello All,
>
> I would need some to explain the below code.
> #define RF_ARG16(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, ...) _15
>
> I understand "..." as variable arguments. But what is "_x"?
A name for a macro parameter. The macro is equivalent to
#define RF_ARG16(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, \
p10, p11, p12, p13, p14, p15, ...) p15
or to
#define RF_ARG16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,...) p
In any guise, it looks like a symptom of macro overreach if
not outright macro abuse.
--
Eric Sosman
esosman@ieee-dot-org.invalid
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Macro still floating above my head janus <emekamicro@gmail.com> - 2012-02-25 08:02 -0800
Re: Macro still floating above my head Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-02-25 11:26 -0500
Re: Macro still floating above my head China Blue Sea <chine.bleu@yahoo.com> - 2012-02-25 08:47 -0800
Re: Macro still floating above my head 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-25 10:18 -0800
csiph-web