ghc-7.6.3: The GHC API

Safe Haskell | None

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)