Foreign C with pointers

Lemmih lemmih at
Wed Dec 19 07:54:54 EST 2007

On Dec 19, 2007 3:05 AM, John Vogel <jpvogel1 at> wrote:
> >
> Lol, I am surprised that the library even compiled without the "return
> addr;".
> But, this definition is correct:

Well, yeah, for some value of correct. It works in this case but it
will most likely bite you if you use it in any other way.

> The other 2 definitions don't even compile.

I posted two new type-signatures and two new definitions. I'm quite
sure the right combination would work.


More information about the Glasgow-haskell-users mailing list