Ashley Yakeley <[EMAIL PROTECTED]> writes: > OK, I just upgraded to GHC 6.0. How do I create a new ForeignPtr that > doesn't have any finalizers? > > newSimpleForeignPtr :: Ptr a -> IO (ForeignPtr a) > newSimpleForeignPtr ptr = ??
Why would you want to?
A ForeignPtr without any finalizers is semantically just a Ptr,
plain and simple.
Regards,
Malcolm
_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi
