[project @ 2002-05-15 09:00:00 by chak]
authorchak <unknown>
Wed, 15 May 2002 09:00:00 +0000 (09:00 +0000)
committerchak <unknown>
Wed, 15 May 2002 09:00:00 +0000 (09:00 +0000)
commit6e9831fee1a4f0523bccf3ff8873fc9677f871d6
tree9b036de2e1672095fe51d0d95ec947d3bcda629a
parent66aeadbe43dcb4f95e5bc47f45be6509a983540b
[project @ 2002-05-15 09:00:00 by chak]
* 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.
Foreign/Marshal/Alloc.hs
Foreign/Marshal/Utils.hs