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-02-18 15:06:45 by simonmar]
[ghc-base.git]
/
Foreign
/
ForeignPtr.hs
diff --git
a/Foreign/ForeignPtr.hs
b/Foreign/ForeignPtr.hs
index
50db97d
..
53275c1
100644
(file)
--- a/
Foreign/ForeignPtr.hs
+++ b/
Foreign/ForeignPtr.hs
@@
-86,10
+86,6
@@
import GHC.ForeignPtr
#if !defined(__NHC__) && !defined(__GLASGOW_HASKELL__)
import Foreign.Marshal.Alloc ( malloc, mallocBytes, finalizerFree )
#if !defined(__NHC__) && !defined(__GLASGOW_HASKELL__)
import Foreign.Marshal.Alloc ( malloc, mallocBytes, finalizerFree )
-import Data.Typeable
-
-#include "Typeable.h"
-INSTANCE_TYPEABLE1(ForeignPtr,foreignPtrTc,"ForeignPtr")
instance Eq (ForeignPtr a) where
p == q = unsafeForeignPtrToPtr p == unsafeForeignPtrToPtr q
instance Eq (ForeignPtr a) where
p == q = unsafeForeignPtrToPtr p == unsafeForeignPtrToPtr q