>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Raymond Toy <toy(a)rtp.ericsson.se> writes:
> I think the best answer is to get a compiler that's smart
enough to
> inline code, and replace the macros with inline functions.
Jan> That doesn't work. A lot of the macros must be macros because they
Jan> mess with the types. They are really more templates than inline
Jan> functions.
I have to admit that I haven't looked at the macros[1] so I believe what
you say.
However, can't you do all kinds of weird casting to get a function to
mess with the types in the same way? I still haven't looked at the
macros, so if I'm way off base, just say so.
Ray
Footnotes:
[1] The last time I really delved into the xemacs source code was
years ago and my head still hurts from trying to wade through the
mass of ifdefs to find out how to fix the code (for Linux).