RE: exercising the storage manager

2003-06-10 Thread Simon Marlow
> 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

Re: exercising the storage manager

2003-06-10 Thread Malcolm Wallace
"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/

RE: exercising the storage manager

2003-06-10 Thread Peter Gammie
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

Re: exercising the storage manager

2003-06-10 Thread Manuel M T Chakravarty
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

Re: exercising the storage manager

2003-06-10 Thread Manuel M T Chakravarty
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