Safe Haskell | None |
---|
Documentation
loadPrimitive :: Repr Value a ~ Value a => Value (Ptr a) -> CodeGenFunction r (T a)Source
storePrimitive :: Repr Value a ~ Value a => T a -> Value (Ptr a) -> CodeGenFunction r ()Source
decomposePrimitive :: Repr Value a ~ Value a => Value a -> CodeGenFunction r (T a)Source
composePrimitive :: Repr Value a ~ Value a => T a -> CodeGenFunction r (Value a)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