projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-04-07 23:36:48 by sof]
[ghc-base.git]
/
GHC
/
ForeignPtr.hs
diff --git
a/GHC/ForeignPtr.hs
b/GHC/ForeignPtr.hs
index
359333d
..
ee95828
100644
(file)
--- a/
GHC/ForeignPtr.hs
+++ b/
GHC/ForeignPtr.hs
@@
-237,7
+237,7
@@
castForeignPtr :: ForeignPtr a -> ForeignPtr b
-- parameterised by one type into another type.
castForeignPtr f = unsafeCoerce# f
-- parameterised by one type into another type.
castForeignPtr f = unsafeCoerce# f
--- | Causes a the finalizers associated with a foreign pointer to be run
+-- | Causes the finalizers associated with a foreign pointer to be run
-- immediately.
finalizeForeignPtr :: ForeignPtr a -> IO ()
finalizeForeignPtr foreignPtr = do
-- immediately.
finalizeForeignPtr :: ForeignPtr a -> IO ()
finalizeForeignPtr foreignPtr = do