Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data MemoryBuffer Source #
Instances
MonadIO d => DecodeM d String (Ptr MemoryBuffer) Source # | |
Defined in LLVM.Internal.MemoryBuffer | |
MonadIO d => DecodeM d ByteString (Ptr MemoryBuffer) Source # | |
Defined in LLVM.Internal.MemoryBuffer decodeM :: Ptr MemoryBuffer -> d ByteString Source # | |
(MonadThrow m, MonadIO m, MonadAnyCont IO m) => EncodeM m Specification (Ptr MemoryBuffer) Source # | |
Defined in LLVM.Internal.MemoryBuffer encodeM :: Specification -> m (Ptr MemoryBuffer) Source # | |
(MonadThrow m, MonadIO m, MonadAnyCont IO m) => EncodeM m Specification (OwnerTransfered (Ptr MemoryBuffer)) Source # | |
Defined in LLVM.Internal.MemoryBuffer encodeM :: Specification -> m (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 #