Safe Haskell | None |
---|
Documentation
class (C a, IsSized (Struct a)) => C a whereSource
load :: Value (Ptr (Struct a)) -> CodeGenFunction r (T a)Source
store :: T a -> Value (Ptr (Struct a)) -> CodeGenFunction r ()Source
decompose :: Value (Struct a) -> CodeGenFunction r (T a)Source
compose :: T a -> CodeGenFunction r (Value (Struct a))Source
C Double | |
C Float | |
C Int8 | |
C Int16 | |
C Int32 | |
C Int64 | |
C Word8 | |
C Word16 | |
C Word32 | |
C Word64 | |
C () | |
C Bool8 | |
C (StablePtr a) | |
IsType a => C (Ptr a) | |
IsFunction a => C (FunPtr a) | |
C a => C (Complex a) | |
(C a, C b) => C (a, b) | |
C n a => C (Vector n a) | |
C a => C (Tagged tag a) | |
(C a, C b, C c) => C (a, b, c) | |
(C a, C b, C c, C d) => C (a, b, c, d) |
loadPrimitive :: Repr Value a ~ Value al => Value (Ptr al) -> CodeGenFunction r (T a)Source
storePrimitive :: Repr Value a ~ Value al => T a -> Value (Ptr al) -> CodeGenFunction r ()Source
decomposePrimitive :: Repr Value a ~ Value al => Value al -> CodeGenFunction r (T a)Source
composePrimitive :: Repr Value a ~ Value al => T a -> CodeGenFunction r (Value al)Source
decomposeUnit :: Repr Value a ~ () => Value (Struct ()) -> CodeGenFunction r (T a)Source
composeUnit :: T a -> CodeGenFunction r (Value (Struct ()))Source
castStructPtr :: Ptr a -> Ptr (Struct a)Source