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-04-24 16:31:37 by simonmar]
[ghc-base.git]
/
Foreign
/
Ptr.hs
diff --git
a/Foreign/Ptr.hs
b/Foreign/Ptr.hs
index
5289cdb
..
7d75e69
100644
(file)
--- a/
Foreign/Ptr.hs
+++ b/
Foreign/Ptr.hs
@@
-1,6
+1,6
@@
{-# OPTIONS -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
{-# OPTIONS -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
---
+-- |
-- Module : Foreign.Ptr
-- Copyright : (c) The FFI task force 2001
-- License : BSD-style (see the file libraries/core/LICENSE)
-- Module : Foreign.Ptr
-- Copyright : (c) The FFI task force 2001
-- License : BSD-style (see the file libraries/core/LICENSE)
@@
-9,7
+9,7
@@
-- Stability : provisional
-- Portability : portable
--
-- Stability : provisional
-- Portability : portable
--
--- $Id: Ptr.hs,v 1.5 2002/03/14 12:09:50 simonmar Exp $
+-- $Id: Ptr.hs,v 1.7 2002/04/24 16:31:44 simonmar Exp $
--
-- Pointer types.
--
--
-- Pointer types.
--
@@
-67,5
+67,5
@@
instance Show (Ptr a) where
#endif
#endif
#endif
#endif
-foreign import "freeHaskellFunctionPtr" unsafe
+foreign import ccall unsafe "freeHaskellFunctionPtr"
freeHaskellFunPtr :: FunPtr a -> IO ()
freeHaskellFunPtr :: FunPtr a -> IO ()