|
From: Tom H. <th...@cy...> - 2003-11-03 09:06:54
|
In message <3FA...@nc...>
Balaji Iyengar <bri...@nc...> wrote:
> 2. the function: void cachesim_##L##_doref(Addr a, UChar size, ULong* m1,
> ULong *m2)
> is defined as part of the above macro, how is the ##L## translated to _I1_
> and _D1_
Well ## is the preprocessor's token pasting operator which can be
used for pasting token fixed tokens and macro arguments without any
whitespace being added in between.
So the macro expansion will effectively replace ##L## with the value
of the L argument to the macro.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|