|
Foreign.C.String.Region | Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
|
|
|
|
|
Description |
Lifts functions and types from Foreign.C.String to regional pointers.
|
|
Synopsis |
|
|
|
|
Regional C Strings
|
|
|
Handy type synonym for a regional pointer to an array of C characters
terminated by a NUL.
This should provide a safer replacement for Foreign.C.String.CString.
|
|
|
Handy type synonym for a regional pointer to an array of C characters which
is paired with the length of the array instead of terminated by a NUL.
(Thus allowing NUL characters in the middle of the string)
This should provide a safer replacement for Foreign.C.String.CStringLen.
|
|
Using a locale-dependent encoding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using 8-bit characters
|
|
|
Convert a Haskell character to a C character.
This function is only safe on the first 256 characters.
|
|
|
Convert a C byte, representing a Latin-1 character, to the corresponding
Haskell character.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C wide strings
|
|
|
Handy type synonym for a regional pointer to an array of C wide characters
terminated by a NUL.
This should provide a safer replacement for Foreign.C.String.CWString.
|
|
|
Handy type synonym for a regional pointer to an array of C wide characters
which is paired with the length of the array instead of terminated by a NUL.
(Thus allowing NUL characters in the middle of the string)
This should provide a safer replacement for Foreign.C.String.CWStringLen.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.0 |