[cvs-nhc98] Revert the type of ForeignPtr finalisers to IO ().

Malcolm Wallace malcolm@sparud.net
Mon, 21 Oct 2002 10:40:30 +0200 (CEST)


malcolm: Mon Oct 21 10:40:30 CEST 2002

Update of /usr/src/master/nhc/src/prelude/FFI
In directory hinken:/tmp/cvs-serv26434

Modified Files:
	FFI.hs ForeignPtr.hs 
Log Message:
Revert the type of ForeignPtr finalisers to IO ().
Provide the older C finalisers of type FunPtr (Ptr a -> IO ())
under the new names of newUnsafeForeignPtr and addUnsafeForeignPtrFinalizer.