Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #17941

Re: Macro still floating above my head

From 88888 Dihedral <dihedral88888@googlemail.com>
Newsgroups comp.lang.c
Subject Re: Macro still floating above my head
Date 2012-02-25 10:18 -0800
Organization http://groups.google.com
Message-ID <26935764.220.1330193923872.JavaMail.geo-discussion-forums@pbeo1> (permalink)
References <3548629.310.1330185767588.JavaMail.geo-discussion-forums@vbux23>

Show all headers | View raw


在 2012年2月26日星期日UTC+8上午12时02分47秒,janus写道:
> 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"?
> 
> Regards, \Janus



在 2012年2月26日星期日UTC+8上午12时02分47秒,janus写道:
> 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"?
> 
> Regards, \Janus

If the variaied  number of arguments in a function somewhat like printf called everywhere, then the stack has to be used a lot. 

I never call printf with more then 4 variables to show messages.

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


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