X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FStablePtr.hs;h=48acc57da631783c94e4aeb255974adc67bd37d9;hb=9fa9bc17072a58c0bae2cce4764d38677e96ac29;hp=d5a6b6ae825c867bcb2ada8d84625641585749a2;hpb=5545727d5a6a1fc6d5d00f32a92a8fdf0fb7ca77;p=ghc-base.git diff --git a/Foreign/StablePtr.hs b/Foreign/StablePtr.hs index d5a6b6a..48acc57 100644 --- a/Foreign/StablePtr.hs +++ b/Foreign/StablePtr.hs @@ -1,6 +1,6 @@ {-# OPTIONS -fno-implicit-prelude #-} ----------------------------------------------------------------------------- --- +-- | -- Module : Foreign.StablePtr -- Copyright : (c) The University of Glasgow 2001 -- License : BSD-style (see the file libraries/core/LICENSE) @@ -9,7 +9,7 @@ -- Stability : provisional -- Portability : portable -- --- $Id: StablePtr.hs,v 1.2 2001/07/03 11:37:50 simonmar Exp $ +-- $Id: StablePtr.hs,v 1.4 2002/04/24 16:31:44 simonmar Exp $ -- -- Stable pointers. -- @@ -24,12 +24,7 @@ module Foreign.StablePtr , 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")