Allan Rae <[EMAIL PROTECTED]> writes:

| On Fri, 16 Mar 2001, Angus Leeming wrote:
| > The extern "C" callbacks are meant to be very simple wrappers for "real" C++
| > functions. In the past we did this with a macro, but that buggered up Lars'
| > debugger. The principle behind the macros is still valid, however.
| 
| Ahh!  Now I finally know what happened to my lovely macros!
| 
| Lars' should have gotten a better debugger ;-)

I can't say that I remember deleteing them...

but I am strongly against macros that generate code and/or take
arguments. (even if I see that they sometimes are useful)

And if you need to generate code, do that with m4 or a similar tool,
not with the preprocessor.

        Lgb

Reply via email to