ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

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) #