Extension to the FFI to allow macro expansions to be avoided

Ross Paterson ross at soi.city.ac.uk
Tue Apr 13 07:02:29 EDT 2004


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()


More information about the FFI mailing list