[project @ 2002-03-20 15:38:36 by simonmar]
authorsimonmar <unknown>
Wed, 20 Mar 2002 15:38:36 +0000 (15:38 +0000)
committersimonmar <unknown>
Wed, 20 Mar 2002 15:38:36 +0000 (15:38 +0000)
convert to new-style FFI declarations

Foreign/Ptr.hs

index 5289cdb..7bbd4db 100644 (file)
@@ -9,7 +9,7 @@
 -- Stability   :  provisional
 -- Portability :  portable
 --
--- $Id: Ptr.hs,v 1.5 2002/03/14 12:09:50 simonmar Exp $
+-- $Id: Ptr.hs,v 1.6 2002/03/20 15:38:36 simonmar Exp $
 --
 -- Pointer types.
 --
@@ -67,5 +67,5 @@ instance Show (Ptr a) where
 #endif
 #endif
 
-foreign import "freeHaskellFunctionPtr" unsafe
+foreign import ccall unsafe "freeHaskellFunctionPtr"
     freeHaskellFunPtr :: FunPtr a -> IO ()