1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
4 -- Module : Foreign.Storable
5 -- Copyright : (c) The FFI task force 2001
6 -- License : BSD-style (see the file libraries/core/LICENSE)
8 -- Maintainer : ffi@haskell.org
9 -- Stability : provisional
10 -- Portability : portable
12 -- A class for primitive marshaling
14 -----------------------------------------------------------------------------
16 module Foreign.Storable
18 sizeOf, -- :: a -> Int
19 alignment, -- :: a -> Int
20 peekElemOff, -- :: Ptr a -> Int -> IO a
21 pokeElemOff, -- :: Ptr a -> Int -> a -> IO ()
22 peekByteOff, -- :: Ptr b -> Int -> IO a
23 pokeByteOff, -- :: Ptr b -> Int -> a -> IO ()
24 peek, -- :: Ptr a -> IO a
25 poke) -- :: Ptr a -> a -> IO ()
28 #ifdef __GLASGOW_HASKELL__