[Haskell-cafe] Re: ForeignFunPtr
mauricio.antunes at gmail.com
Sun Sep 6 13:53:52 EDT 2009
Isn't freeHaskellFunPtr a required finalization procedure?
> the purpose of ForeignPtr is to attach a finalization procedure to the
> object behind the pointer. for example, you can have close called
> aimplicitly whenever the garbage collector finds you don't need a file
> handle any more. function pointers do not need finalization.
>> We have ForeignPtr. Why isn't there a
>> corresponding ForeignFunPtr?
More information about the Haskell-Cafe