9 Jun
2003
9 Jun
'03
4:55 p.m.
Ashley Yakeley <ashley@semantic.org> 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