Safe Haskell | None |
---|---|
Language | Haskell2010 |
Helper functions used by Compilation module.
- newCString :: ByteString -> IO CString
Documentation
newCString :: ByteString -> IO CString Source #
Copies ByteString
to newly allocated CString
. The result must be
| explicitly freed using free
or finalizerFree
.