X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FStorable.hs;h=869916dee61219fcea87f6192fb1b7482bc0617a;hb=9fa9bc17072a58c0bae2cce4764d38677e96ac29;hp=67cbc7b6b55daf61c14870f3c655dbc255409939;hpb=5545727d5a6a1fc6d5d00f32a92a8fdf0fb7ca77;p=ghc-base.git diff --git a/Foreign/Storable.hs b/Foreign/Storable.hs index 67cbc7b..869916d 100644 --- a/Foreign/Storable.hs +++ b/Foreign/Storable.hs @@ -1,6 +1,6 @@ {-# OPTIONS -fno-implicit-prelude #-} ----------------------------------------------------------------------------- --- +-- | -- Module : Foreign.Storable -- Copyright : (c) The FFI task force 2001 -- License : BSD-style (see the file libraries/core/LICENSE) @@ -9,7 +9,7 @@ -- Stability : provisional -- Portability : portable -- --- $Id: Storable.hs,v 1.2 2001/07/03 11:37:50 simonmar Exp $ +-- $Id: Storable.hs,v 1.4 2002/04/24 16:31:44 simonmar Exp $ -- -- A class for primitive marshaling -- @@ -24,8 +24,7 @@ module Foreign.Storable peekByteOff, -- :: Ptr b -> Int -> IO a pokeByteOff, -- :: Ptr b -> Int -> a -> IO () peek, -- :: Ptr a -> IO a - poke, -- :: Ptr a -> a -> IO () - destruct) -- :: Ptr a -> IO () + poke) -- :: Ptr a -> a -> IO () ) where #ifdef __GLASGOW_HASKELL__