1. 13 Jan, 2003 2 commits
    • simonpj's avatar
      [project @ 2003-01-13 13:39:34 by simonpj] · a7c1d388
      simonpj authored
      wibble
      a7c1d388
    • simonpj's avatar
      [project @ 2003-01-13 13:20:37 by simonpj] · 90bf3139
      simonpj authored
      --------------------------------
      	Don't export the inlining for a foreign
      	import that has a #include directive
      	--------------------------------
      
      Reason for this change: if the inlining is imported into another
      module, the latter may not have the right #include directives.
      
      Also add notes to the documentation to explain the issues.
      90bf3139
  2. 25 Jun, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-06-25 12:05:14 by simonmar] · 7bcdfdba
      simonmar authored
      Various hacking on the User's Guide to knock it into shape for the release.
      
      Committers: please take a look at the 5.04 release notes and feel free
      to tweak or embelish the description for your favourite new feature.
      7bcdfdba
  3. 15 May, 2002 1 commit
    • chak's avatar
      [project @ 2002-05-15 08:59:58 by chak] · de1d4a16
      chak authored
      * Added the options `-ffi' and `-fffi', which switch on FFI support
        (`-fglasgow-exts' implies `-fffi').
      
        NB: Strictly speaking `-fffi' is the correct name; however, `-ffi' is
            supported as an alternative spelling.
      
      * `-fglasgow-exts' no longer enables the `with' keyword for implicit
        parameters.  To use `with' as a keyword, the additional option `-fwith' has
        to be supplied.  (Note that SimonM recently enabled the use of `let' instead
        of `with'.)
      
        NB: This might prompt some makefile tweaks in libraries or regression tests.
      
      * Renamed `Foreign.Marshal.Utils.withObject' to `Foreign.Marshal.Utils.with'
        as required by the FFI Addendum.  (The old name is still available, but
        marked as deprecated.)
      
      * Added `realloc' to `Foreign.Marshal.Alloc' (tracking RC4 of the FFI
        Addendum).
      
      Docu
      ~~~~
      * Added `-ffi', `-fffi', and `-fwith' to the flag reference and the section
        describing options for Glasgow extensions
      
      * Removed most of the FFI section in the User's Guide in favour of a reference
        to the Addendum plus a brief description of additional features supported by
        GHC.
      
        NB: The old material is still available at fptools/docs/, I merely removed
        the reference in the User's Guide.
      de1d4a16
  4. 04 Jan, 2002 1 commit
  5. 25 Sep, 2001 1 commit
  6. 17 Sep, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-09-17 09:51:23 by simonmar] · 488d5cc3
      simonmar authored
      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.
      488d5cc3
  7. 14 Sep, 2001 1 commit
  8. 08 Aug, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-08-08 13:19:07 by simonmar] · 14d65c3f
      simonmar authored
      - Rearrange the FFI documentation: put it all in chapter 8.
      
      - Add a section "Using the FFI with GHC", and add some information about
        the stub files generated by GHC for foreign export dynamic.
      14d65c3f
  9. 08 Jun, 2000 2 commits