Hi all,
GHC defines ForeignPtr as:
data ForeignPtr a = ForeignPtr Addr# ForeignPtrContents
-- we cache the Addr# in the ForeignPtr object, but attach
-- the finalizer to the IORef (or the MutableByteArray# in
-- the case of a MallocPtr). The aim of the representation
On 01/06/2011 02:55, Daniel Fischer wrote:
On Tuesday 31 May 2011 16:04:28, Simon Marlow wrote:
That's very mysterious. Perhaps bfd_init doesn't pull in anything that
has the libz dependency, and you have to call some other function in
the bfd library instead.
Not having a better idea, I
On 01/06/2011 08:29, Roman Leshchinskiy wrote:
GHC defines ForeignPtr as:
data ForeignPtr a = ForeignPtr Addr# ForeignPtrContents
-- we cache the Addr# in the ForeignPtr object, but attach
-- the finalizer to the IORef (or the MutableByteArray# in
-- the case of a