foreign-0.2.0.1: A collection of helpers for ffi.
Safe HaskellNone
LanguageHaskell2010

HsForeign.CppStd

Synopsis

StdString

newStdString :: ByteString -> IO (Ptr StdString) Source #

New a c++ std::string from proviced bytestring.

The memory should be deallocated using delete when no longer required.

StdVector