On Mon, Jun 09, 2003 at 01:21:38PM +0100, Malcolm Wallace wrote: > Ashley Yakeley <[EMAIL PROTECTED]> writes: > > > Specifically I want a ForeignPtr of a null Ptr that has no finalizers. > > Ah, this makes sense. > I wonder if we should add the following to the FFI spec module ForeignPtr? > > nullForeignPtr :: ForeignPtr a -- a null pointer with null finalizer
Yes, please. I use this function quite extensively in gtk2hs. Thanks, Axel. _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi