Re: Extension to the FFI to allow macro expansions to be avoided

Ross Paterson <[email protected]> Tue, 13 Apr 2004 12:02:29 +0100
Newsgroups gmane.comp.lang.haskell.ffi
Message-ID <[email protected]>
On Tue, Apr 13, 2004 at 11:55:47AM +0100, Simon Marlow wrote:
> > I'd favour turning off the
> > macro interface, preferably with #undef, at least by default.
> 
> Agreed.  Why is #undef to be preferred over adding parentheses around
> the function name as Ian originally suggested?

It would also switch off

#define func another_func

and

#define errno thread_local_errno()