ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

DsCCall

# Documentation

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

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

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

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

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