projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-10-14 10:06:28 by ross]
[ghc-base.git]
/
Foreign
/
Ptr.hs
diff --git
a/Foreign/Ptr.hs
b/Foreign/Ptr.hs
index
0079828
..
bca908b
100644
(file)
--- a/
Foreign/Ptr.hs
+++ b/
Foreign/Ptr.hs
@@
-85,9
+85,7
@@
instance Show (Ptr a) where
instance Show (FunPtr a) where
showsPrec p = showsPrec p . castFunPtrToPtr
#endif
instance Show (FunPtr a) where
showsPrec p = showsPrec p . castFunPtrToPtr
#endif
-#endif
-#ifndef __NHC__
foreign import ccall unsafe "freeHaskellFunctionPtr"
freeHaskellFunPtr :: FunPtr a -> IO ()
#endif
foreign import ccall unsafe "freeHaskellFunctionPtr"
freeHaskellFunPtr :: FunPtr a -> IO ()
#endif