X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fffi-chap.xml;h=84fb8aed9298fbcadfd51a9106de3f53280ca88f;hb=e60f4a63156d1bbeda203eac53c2a500b7b3fffe;hp=a6dccb3baf2f44511870672fa9428ab79d6e4c5b;hpb=9cb75205a0ffb89d9996ba8500493ba35d4b712f;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/ffi-chap.xml b/ghc/docs/users_guide/ffi-chap.xml index a6dccb3..84fb8ae 100644 --- a/ghc/docs/users_guide/ffi-chap.xml +++ b/ghc/docs/users_guide/ffi-chap.xml @@ -2,13 +2,20 @@ -Foreign function interface (FFI) + +Foreign function interface (FFI) + GHC (mostly) conforms to the Haskell 98 Foreign Function Interface - Addendum 1.0, whose definition is available from http://haskell.org/. - The FFI support in GHC diverges from the Addendum in the following ways: - + Addendum 1.0, whose definition is available from http://haskell.org/. + + To enable FFI support in GHC, give the + flag, or +the + flag which implies +. + + The FFI support in GHC diverges from the Addendum in the following ways: @@ -18,8 +25,7 @@ GHC implements a number of GHC-specific extensions to the FFI - Addendum. These extensions are described in , but please note that programs using + Addendum. These extensions are described in , but please note that programs using these features are not portable. Hence, these features should be avoided where possible.