{-# LANGUAGE CPP, ForeignFunctionInterface, EmptyDataDecls #-} module LLVM.FFI.AssemblyReader where import Foreign.C.String(CString) #if __GLASGOW_HASKELL__ >= 704 import Foreign.C.Types(CInt(..)) #else import Foreign.C.Types(CInt) #endif import Foreign.Ptr(Ptr) import LLVM.FFI.Core foreign import ccall unsafe "LLVMGetModuleFromAssembly" getModuleFromAssembly :: CString -> CInt -> Ptr CString -> IO ModuleRef