> g'day everyone,
>
> I'm getting segv's from a program using the FFI (ghc5.0x) on
> MacOS X only,
> i.e. not on Linux, my primary development platform.
>
> So... does anyone have any tips for showing up dodgy uses of
> the FFI wrt
> memory handling? What settings for GHC's garbage collector
"Simon Marlow" <[EMAIL PROTECTED]> writes:
> Does anyone else think that foreignPtrToPtr should really be called
> unsafeForeignPtrToPtr?
Yes, I agree.
Regards,
Malcolm
___
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/
On Tue, 10 Jun 2003, Simon Marlow wrote:
> Does anyone else think that foreignPtrToPtr should really be called
> unsafeForeignPtrToPtr?
I was actually advocating that it be disposed of, but thought that would
be too forward of me. What use is it without touchForeignPtr, and if the
latter depends
Peter Gammie <[EMAIL PROTECTED]> wrote,
> On Tue, 10 Jun 2003, Simon Marlow wrote:
>
> > Does anyone else think that foreignPtrToPtr should really be called
> > unsafeForeignPtrToPtr?
>
> I was actually advocating that it be disposed of, but thought that would
> be too forward of me. What use is
Malcolm Wallace <[EMAIL PROTECTED]> wrote,
> "Simon Marlow" <[EMAIL PROTECTED]> writes:
>
> > Does anyone else think that foreignPtrToPtr should really be called
> > unsafeForeignPtrToPtr?
>
> Yes, I agree.
Ok, so unless their are any objections, I will rename the
function.
Manuel