cvs commit: fptools/docs ffi.sgml fptools/ghc/docs/users_guide
Mon, 17 Sep 2001 02:51:23 -0700
simonmar 2001/09/17 02:51:23 PDT
Knock the FFI documentation into some sort of shape for the release:
- The blurb about "the FFI is in two/three parts..." was repeated in
three places. We also at some point seem to have lost the property
that the FFI spec is a self-contained document; I don't try to fix
that here, since we're going to replace it with the new spec at some
- Replace references to Addr and ForeignObj with Ptr and ForeignPtr.
- Remove mentions of GHC's ByteArray and MutableByteArray types, as
these are deprecated and will be removed in a couple of versions.
(mostly subsumed by allocaBytes and friends).
- Catch up with GHC's removal of the library specification from foreign
import. Mention that libraries are specified in a compiler-dependent
way now, and that GHC uses either packages or command-line opts for
- Fix up some markup.
Revision Changes Path
1.11 +78 -240 fptools/docs/ffi.sgml
1.5 +7 -39 fptools/ghc/docs/users_guide/ffi-chap.sgml