-- Stability : provisional
-- Portability : portable
--
--- The "Ptr" module provides typed pointers to foreign data. It is part
+-- This module provides typed pointers to foreign data. It is part
-- of the Foreign Function Interface (FFI) and will normally be
-- imported via the "Foreign" module.
--
)
#endif
+#ifdef __HUGS__
+import Hugs.Ptr
+#endif
#ifdef __GLASGOW_HASKELL__
#include "MachDeps.h"
instance Show (FunPtr a) where
showsPrec p = showsPrec p . castFunPtrToPtr
#endif
-#endif
-#ifndef __NHC__
foreign import ccall unsafe "freeHaskellFunctionPtr"
freeHaskellFunPtr :: FunPtr a -> IO ()
#endif