glib-0.11.0: Binding to the GLIB library for Gtk2Hs.Source codeContentsIndex
System.Glib.UTFString
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Description
This module adds CString-like functions that handle UTF8 strings.
Documentation
withUTFString :: String -> (CString -> IO a) -> IO aSource
withUTFStringLen :: String -> (CStringLen -> IO a) -> IO aSource
newUTFString :: String -> IO CStringSource
newUTFStringLen :: String -> IO CStringLenSource
peekUTFString :: CString -> IO StringSource
peekUTFStringLen :: CStringLen -> IO StringSource
readUTFString :: CString -> IO StringSource
readCString :: CString -> IO StringSource
withUTFStrings :: [String] -> ([CString] -> IO a) -> IO aSource
withUTFStringArray :: [String] -> (Ptr CString -> IO a) -> IO aSource
withUTFStringArray0 :: [String] -> (Ptr CString -> IO a) -> IO aSource
peekUTFStringArray :: Int -> Ptr CString -> IO [String]Source
peekUTFStringArray0 :: Ptr CString -> IO [String]Source
readUTFStringArray0 :: Ptr CString -> IO [String]Source
data UTFCorrection Source
genUTFOfs :: String -> UTFCorrectionSource
ofsToUTF :: Int -> UTFCorrection -> IntSource
ofsFromUTF :: Int -> UTFCorrection -> IntSource
Produced by Haddock version 2.6.0