ANN: H98 FFI Addendum 1.0, Release Candidate 8

Ross Paterson ross at
Wed Jan 22 05:54:03 EST 2003

Since you're retaining foreign language finalizers, you need a way
to get the equivalent of as such a finalizer, as
discussed in

I favour option (3) from there:

	Marshal.Alloc.finalizerFree :: FunPtr (Ptr a -> IO ())

but doing (4) as well would be harmless, I guess.

And then there is the small matter that GHC doesn't currently implement
foreign language finalizers, or finalizer ordering.

More information about the FFI mailing list