projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add extra libraries when compiling with GHC on Windows
[haskell-directory.git]
/
GHC
/
Stable.lhs
diff --git
a/GHC/Stable.lhs
b/GHC/Stable.lhs
index
13194f5
..
0de033d
100644
(file)
--- a/
GHC/Stable.lhs
+++ b/
GHC/Stable.lhs
@@
-71,7
+71,7
@@
deRefStablePtr (StablePtr sp) = IO $ \s -> deRefStablePtr# sp s
-- it may be 'Foreign.Ptr.nullPtr'). Nevertheless, the call
-- to 'castStablePtrToPtr' is guaranteed not to diverge.
--
-- it may be 'Foreign.Ptr.nullPtr'). Nevertheless, the call
-- to 'castStablePtrToPtr' is guaranteed not to diverge.
--
-foreign import ccall unsafe freeStablePtr :: StablePtr a -> IO ()
+foreign import ccall unsafe "hs_free_stable_ptr" freeStablePtr :: StablePtr a -> IO ()
-- |
-- Coerce a stable pointer to an address. No guarantees are made about
-- |
-- Coerce a stable pointer to an address. No guarantees are made about