[project @ 2001-09-17 09:51:23 by simonmar]
authorsimonmar <unknown>
Mon, 17 Sep 2001 09:51:23 +0000 (09:51 +0000)
committersimonmar <unknown>
Mon, 17 Sep 2001 09:51:23 +0000 (09:51 +0000)
commit488d5cc391d0bec3575528a9cb88ae0b12ee0fb9
tree161a4bf0d04749254f1c6782ae8f7e5394a82c12
parent349d9b53ccb2e657726e4cab1abce1791fe904b8
[project @ 2001-09-17 09:51:23 by simonmar]
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
  point.

- 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
  this.

- Fix up some markup.
docs/ffi.sgml
ghc/docs/users_guide/ffi-chap.sgml