From: reid Date: Sat, 3 Aug 2002 19:32:49 +0000 (+0000) Subject: [project @ 2002-08-03 19:32:49 by reid] X-Git-Tag: nhc98-1-18-release~918 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=bd3a4138d358cd5d6dd32fc794cb15528757c175;p=ghc-base.git [project @ 2002-08-03 19:32:49 by reid] Oops --- diff --git a/Foreign/Storable.hs b/Foreign/Storable.hs deleted file mode 100644 index 3d57481..0000000 --- a/Foreign/Storable.hs +++ /dev/null @@ -1,34 +0,0 @@ -{-# OPTIONS -fno-implicit-prelude #-} ------------------------------------------------------------------------------ --- | --- Module : Foreign.Storable --- Copyright : (c) The FFI task force 2001 --- License : BSD-style (see the file libraries/base/LICENSE) --- --- Maintainer : ffi@haskell.org --- Stability : provisional --- Portability : portable --- --- The module "Storable" provides most elementary support for --- marshalling and is part of the language-independent portion of the --- Foreign Function Interface (FFI), and will normally be imported via --- the "Foreign" module. --- ------------------------------------------------------------------------------ - -module Foreign.Storable - ( -- * The 'Storable' class - Storable( - sizeOf, -- :: a -> Int - alignment, -- :: a -> Int - peekElemOff, -- :: Ptr a -> Int -> IO a - pokeElemOff, -- :: Ptr a -> Int -> a -> IO () - peekByteOff, -- :: Ptr b -> Int -> IO a - pokeByteOff, -- :: Ptr b -> Int -> a -> IO () - peek, -- :: Ptr a -> IO a - poke) -- :: Ptr a -> a -> IO () - ) where - -#ifdef __GLASGOW_HASKELL__ -import GHC.Storable -#endif