License | MIT |
---|---|
Stability | Experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines the raw bindings to the OpenCC library. Currently,
opencc_convert_utf8_to_buffer
is missing.
Synopsis
- type RawOpenCC = Ptr ()
- _openccOpen :: CString -> IO RawOpenCC
- _openccClose :: RawOpenCC -> IO ()
- _openccClosePtr :: FunPtr (RawOpenCC -> IO ())
- _openccConvertUtf8 :: RawOpenCC -> CString -> CSize -> IO CString
- _openccConvertUtf8Free :: CString -> IO ()
- _openccConvertUtf8FreePtr :: FunPtr (CString -> IO ())
- _openccError :: IO CString
Documentation
_openccClose :: RawOpenCC -> IO () Source #
_openccConvertUtf8Free :: CString -> IO () Source #
_openccError :: IO CString Source #
Return value is `const char *`, do NOT free!