X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fffi-chap.sgml;h=c2d7b83256485f5eed5198d11f57a374bf735ec7;hb=488d5cc391d0bec3575528a9cb88ae0b12ee0fb9;hp=d0f6878ad3cdfe3d3e3524f0ee86d0d63cf527ca;hpb=0346ecd9a5f920e21d177df7fc26b53f01f14122;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/ffi-chap.sgml b/ghc/docs/users_guide/ffi-chap.sgml index d0f6878..c2d7b83 100644 --- a/ghc/docs/users_guide/ffi-chap.sgml +++ b/ghc/docs/users_guide/ffi-chap.sgml @@ -3,7 +3,8 @@ Foreign function interface - The foreign interface consists of the following components: + The foreign function interface consists of the following + components: @@ -16,44 +17,11 @@ - The Foreign module (see ) collects together several interfaces - which are useful in specifying foreign language interfaces, - including the following: - - - - The ForeignObj module (see ), for managing pointers from - Haskell into the outside world. - - - - The StablePtr module (see ), for managing pointers into - Haskell from the outside world. - - - - The CTypes module (see ) gives Haskell equivalents for the - standard C datatypes, for use in making Haskell bindings to - existing C libraries. - - - - The CTypesISO module (see ) gives Haskell equivalents for C - types defined by the ISO C standard. - - - - The Storable library, for primitive - marshalling of data types between Haskell and the foreign - language. - - - + Several library modules which provide access to types used + by foreign languages and utilties for marshalling values to and + from foreign functions, and for converting errors in the foreign + language into Haskell IO errors. See for + more details.