Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
data MemoryBuffer Source #
(MonadThrow m, MonadIO m, MonadAnyCont IO m) => EncodeM m Specification (Ptr MemoryBuffer) Source # | |
(MonadThrow m, MonadIO m, MonadAnyCont IO m) => EncodeM m Specification (OwnerTransfered (Ptr MemoryBuffer)) Source # | |
createMemoryBufferWithContentsOfFile :: Ptr CChar -> Ptr (Ptr MemoryBuffer) -> Ptr (OwnerTransfered CString) -> IO LLVMBool Source #
createMemoryBufferWithMemoryRange :: Ptr CChar -> CSize -> CString -> LLVMBool -> IO (Ptr MemoryBuffer) Source #
getBufferStart :: Ptr MemoryBuffer -> IO (Ptr CChar) Source #
getBufferSize :: Ptr MemoryBuffer -> IO CSize Source #
disposeMemoryBuffer :: Ptr MemoryBuffer -> IO () Source #