[project @ 2002-09-06 14:08:45 by simonmar]
authorsimonmar <unknown>
Fri, 6 Sep 2002 14:08:45 +0000 (14:08 +0000)
committersimonmar <unknown>
Fri, 6 Sep 2002 14:08:45 +0000 (14:08 +0000)
commit1c64ce96fc5e52ce66abd849b7463c4c1ce537d8
treee7a27ba8c28f4621848f468e3b043489dffd673a
parentefc37fdab381c901c4957e3c94119b3e10385513
[project @ 2002-09-06 14:08:45 by simonmar]
Implement

   mallocForeignPtr :: Storable a => IO (ForeignPtr a)
   mallocForeignPtrBytes :: Int -> IO (ForeignPtr a)

as GHC extensions for the time being.  I strongly recommend using
these if you need some garbage-collected memory to pass to a foreign
function.
Foreign/ForeignPtr.hs