DsCCall

ghc-7.8.3: The GHC API

Safe Haskell | None
Language | Haskell98

DsCCall

# Documentation

dsCCall :: CLabelString -> [CoreExpr] -> Safety -> Type -> DsM CoreExpr Source

mkFCall :: DynFlags -> Unique -> ForeignCall -> [CoreExpr] -> Type -> CoreExpr Source

unboxArg :: CoreExpr -> DsM (CoreExpr, CoreExpr -> CoreExpr) Source

boxResult :: Type -> DsM (Type, CoreExpr -> CoreExpr) Source

resultWrapper :: Type -> DsM (Maybe Type, CoreExpr -> CoreExpr) Source