{-# OPTIONS -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
---
+-- |
-- Module : Foreign.StablePtr
-- Copyright : (c) The University of Glasgow 2001
-- License : BSD-style (see the file libraries/core/LICENSE)
--
-- Maintainer : ffi@haskell.org
--- Stability : experimental
--- Portability : non-portable
+-- Stability : provisional
+-- Portability : portable
--
--- $Id: StablePtr.hs,v 1.1 2001/06/28 14:15:03 simonmar Exp $
+-- $Id: StablePtr.hs,v 1.4 2002/04/24 16:31:44 simonmar Exp $
--
-- Stable pointers.
--
, castPtrToStablePtr -- :: Ptr () -> StablePtr a
) where
-import Data.Dynamic
-
#ifdef __GLASGOW_HASKELL__
import GHC.Stable
import GHC.Err
#endif
-
-#include "Dynamic.h"
-INSTANCE_TYPEABLE1(StablePtr,stablePtrTc,"StablePtr")