Add explicit `{-# LANGUAGE CPP, PackageImports #-}` pragmas
[packages/haskell2010.git] / Foreign / Storable.hs
1 {-# LANGUAGE CPP, PackageImports #-}
2 #if __GLASGOW_HASKELL__ >= 701
3 {-# LANGUAGE Safe #-}
4 #endif
5
6 module Foreign.Storable
7 ( Storable(
8 sizeOf, -- :: a -> Int
9 alignment, -- :: a -> Int
10 peekElemOff, -- :: Ptr a -> Int -> IO a
11 pokeElemOff, -- :: Ptr a -> Int -> a -> IO ()
12 peekByteOff, -- :: Ptr b -> Int -> IO a
13 pokeByteOff, -- :: Ptr b -> Int -> a -> IO ()
14 peek, -- :: Ptr a -> IO a
15 poke) -- :: Ptr a -> a -> IO ()
16 ) where
17 import "base" Foreign.Storable