[Haskell-cafe] handles and foreign C functions

Andrea Rossato mailing_list at istitutocolli.org
Wed Dec 3 11:39:42 EST 2008

Hello Bulat,

On Wed, Dec 03, 2008 at 07:26:39PM +0300, Bulat Ziganshin wrote:
> either some error in the code (i neevr used this feature) or stdout
> may be defile by a macro.

the second you said:

/* C89/C99 say they're macros.  Make them happy.  */

(from stdio.h)

> can you try to define function for it:
> FILE *out() {return stdout;}

This does the trick.

Thank you once again.


More information about the Haskell-Cafe mailing list