On Wed, Sep 25, 2002 at 09:33:04AM +0100, Ross Paterson wrote:
> If the struct were allocated with mallocForeignPtr, you need another
> C call to use as the finalizer for that, say hs_f_free().

Sorry, that's wrong: If the struct were allocated with mallocForeignPtr,
you're stuck.  You've no choice but to use addForeignPtrFinalizer,
except that you can't because the order of finalizers is unspecified.
_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to