Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CStdString
- stdStringCtx :: Context
- moveToByteString :: Ptr CStdString -> IO ByteString
- withString :: ByteString -> (Ptr CStdString -> IO a) -> IO a
- new :: ByteString -> IO (Ptr CStdString)
- delete :: Ptr CStdString -> IO ()
- copyToByteString :: StdString -> IO ByteString
Context
data CStdString Source #
Functions
moveToByteString :: Ptr CStdString -> IO ByteString Source #
withString :: ByteString -> (Ptr CStdString -> IO a) -> IO a Source #
Low level functions
new :: ByteString -> IO (Ptr CStdString) Source #
Wrapper-based functions
copyToByteString :: StdString -> IO ByteString Source #