Safe Haskell | None |
---|---|
Language | Haskell98 |
Foreign.LibFFI.Dynamic.Type
Documentation
Instances
Eq SomeType Source # | |
Ord SomeType Source # | |
Defined in Foreign.LibFFI.Dynamic.Type | |
Show SomeType Source # | |
Storable SomeType Source # | |
Defined in Foreign.LibFFI.Dynamic.Type | |
Hashable SomeType Source # | |
Defined in Foreign.LibFFI.Dynamic.Type |
Instances
Eq (Type t) Source # | |
Ord (Type t) Source # | |
Show (Type t) Source # | |
Storable (Type t) Source # | |
toSomeType :: Type a -> SomeType Source #
longdouble :: Type Double Source #
typeAlignment :: SomeType -> CUShort Source #
typeIsStruct :: SomeType -> Bool Source #
structElements :: SomeType -> [SomeType] Source #
data TypeDescription Source #
Constructors
Prim SomeType | |
Struct [TypeDescription] |
Instances
Eq TypeDescription Source # | |
Defined in Foreign.LibFFI.Dynamic.Type Methods (==) :: TypeDescription -> TypeDescription -> Bool # (/=) :: TypeDescription -> TypeDescription -> Bool # | |
Ord TypeDescription Source # | |
Defined in Foreign.LibFFI.Dynamic.Type Methods compare :: TypeDescription -> TypeDescription -> Ordering # (<) :: TypeDescription -> TypeDescription -> Bool # (<=) :: TypeDescription -> TypeDescription -> Bool # (>) :: TypeDescription -> TypeDescription -> Bool # (>=) :: TypeDescription -> TypeDescription -> Bool # max :: TypeDescription -> TypeDescription -> TypeDescription # min :: TypeDescription -> TypeDescription -> TypeDescription # | |
Show TypeDescription Source # | |
Defined in Foreign.LibFFI.Dynamic.Type Methods showsPrec :: Int -> TypeDescription -> ShowS # show :: TypeDescription -> String # showList :: [TypeDescription] -> ShowS # |
getType :: TypeDescription -> SomeType Source #