derive-storable-0.1.2.0: Derive Storable instances with GHC.Generics.

Copyright(c) Mateusz Kłoczko 2016
LicenseMIT
Maintainermateusz.p.kloczko@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Foreign.Storable.Generic.Instances

Contents

Description

 

Orphan instances

GStorable Bool Source # 
GStorable Char Source # 
GStorable Double Source # 
GStorable Float Source # 
GStorable Int Source # 
GStorable Int8 Source # 
GStorable Int16 Source # 
GStorable Int32 Source # 
GStorable Int64 Source # 
GStorable Word Source # 
GStorable Word8 Source # 
GStorable Word16 Source # 
GStorable Word32 Source # 
GStorable Word64 Source # 
GStorable CDev Source # 
GStorable CIno Source # 
GStorable CMode Source # 
GStorable COff Source # 
GStorable CPid Source # 
GStorable CSsize Source # 
GStorable CGid Source # 
GStorable CNlink Source # 
GStorable CUid Source # 
GStorable CCc Source # 
GStorable CSpeed Source # 
GStorable CTcflag Source # 
GStorable CRLim Source # 
GStorable Fd Source # 

Methods

gsizeOf :: Fd -> Int Source #

galignment :: Fd -> Int Source #

gpeekByteOff :: Ptr b -> Int -> IO Fd Source #

gpokeByteOff :: Ptr b -> Int -> Fd -> IO () Source #

GStorable CChar Source # 
GStorable CSChar Source # 
GStorable CUChar Source # 
GStorable CShort Source # 
GStorable CUShort Source # 
GStorable CInt Source # 
GStorable CUInt Source # 
GStorable CLong Source # 
GStorable CULong Source # 
GStorable CLLong Source # 
GStorable CULLong Source # 
GStorable CFloat Source # 
GStorable CDouble Source # 
GStorable CPtrdiff Source # 
GStorable CSigAtomic Source # 
GStorable CClock Source # 
GStorable CTime Source # 
GStorable CUSeconds Source # 
GStorable CSUSeconds Source # 
GStorable CIntMax Source # 
GStorable CUIntMax Source # 
GStorable WordPtr Source # 
GStorable IntPtr Source # 
GStorable Fingerprint Source # 
GStorable (StablePtr a) Source # 
GStorable (Ptr a) Source # 

Methods

gsizeOf :: Ptr a -> Int Source #

galignment :: Ptr a -> Int Source #

gpeekByteOff :: Ptr b -> Int -> IO (Ptr a) Source #

gpokeByteOff :: Ptr b -> Int -> Ptr a -> IO () Source #

GStorable (FunPtr a) Source # 

Methods

gsizeOf :: FunPtr a -> Int Source #

galignment :: FunPtr a -> Int Source #

gpeekByteOff :: Ptr b -> Int -> IO (FunPtr a) Source #

gpokeByteOff :: Ptr b -> Int -> FunPtr a -> IO () Source #