storable-tuple-0.0.3.3: Storable instance for pairs and triples

Safe HaskellSafe
LanguageHaskell98

Foreign.Storable.Tuple

Contents

Documentation

Orphan instances

(Storable a, Storable b) => Storable (a, b) Source # 

Methods

sizeOf :: (a, b) -> Int #

alignment :: (a, b) -> Int #

peekElemOff :: Ptr (a, b) -> Int -> IO (a, b) #

pokeElemOff :: Ptr (a, b) -> Int -> (a, b) -> IO () #

peekByteOff :: Ptr b -> Int -> IO (a, b) #

pokeByteOff :: Ptr b -> Int -> (a, b) -> IO () #

peek :: Ptr (a, b) -> IO (a, b) #

poke :: Ptr (a, b) -> (a, b) -> IO () #

(Storable a, Storable b, Storable c) => Storable (a, b, c) Source # 

Methods

sizeOf :: (a, b, c) -> Int #

alignment :: (a, b, c) -> Int #

peekElemOff :: Ptr (a, b, c) -> Int -> IO (a, b, c) #

pokeElemOff :: Ptr (a, b, c) -> Int -> (a, b, c) -> IO () #

peekByteOff :: Ptr b -> Int -> IO (a, b, c) #

pokeByteOff :: Ptr b -> Int -> (a, b, c) -> IO () #

peek :: Ptr (a, b, c) -> IO (a, b, c) #

poke :: Ptr (a, b, c) -> (a, b, c) -> IO () #

(Storable a, Storable b, Storable c, Storable d) => Storable (a, b, c, d) Source # 

Methods

sizeOf :: (a, b, c, d) -> Int #

alignment :: (a, b, c, d) -> Int #

peekElemOff :: Ptr (a, b, c, d) -> Int -> IO (a, b, c, d) #

pokeElemOff :: Ptr (a, b, c, d) -> Int -> (a, b, c, d) -> IO () #

peekByteOff :: Ptr b -> Int -> IO (a, b, c, d) #

pokeByteOff :: Ptr b -> Int -> (a, b, c, d) -> IO () #

peek :: Ptr (a, b, c, d) -> IO (a, b, c, d) #

poke :: Ptr (a, b, c, d) -> (a, b, c, d) -> IO () #