X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FStorable.hs;h=3d57481f6ff397474383d0fc7027d0983ac93173;hb=f7a485978f04e84b086f1974b88887cc72d832d0;hp=869916dee61219fcea87f6192fb1b7482bc0617a;hpb=9fa9bc17072a58c0bae2cce4764d38677e96ac29;p=ghc-base.git diff --git a/Foreign/Storable.hs b/Foreign/Storable.hs index 869916d..3d57481 100644 --- a/Foreign/Storable.hs +++ b/Foreign/Storable.hs @@ -3,20 +3,22 @@ -- | -- Module : Foreign.Storable -- Copyright : (c) The FFI task force 2001 --- License : BSD-style (see the file libraries/core/LICENSE) +-- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : ffi@haskell.org -- Stability : provisional -- Portability : portable -- --- $Id: Storable.hs,v 1.4 2002/04/24 16:31:44 simonmar Exp $ --- --- A class for primitive marshaling +-- 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 - ( Storable( + ( -- * The 'Storable' class + Storable( sizeOf, -- :: a -> Int alignment, -- :: a -> Int peekElemOff, -- :: Ptr a -> Int -> IO a