cvs commit: fptools/docs ffi.sgml fptools/ghc/docs/users_guide ffi-chap.sgml

Simon Marlow simonmar@glass.cse.ogi.edu
Mon, 17 Sep 2001 02:51:23 -0700


simonmar    2001/09/17 02:51:23 PDT

  Modified files:
    docs                 ffi.sgml 
    ghc/docs/users_guide ffi-chap.sgml 
  Log:
  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.
  
  Revision  Changes    Path
  1.11      +78 -240   fptools/docs/ffi.sgml
  1.5       +7 -39     fptools/ghc/docs/users_guide/ffi-chap.sgml