ANN: H98 FFI Addendum 1.0, Release Candidate 16

Manuel M T Chakravarty chak at cse.unsw.edu.au
Mon Nov 17 04:28:26 EST 2003


Dear Haskell Folks,

Release Candidate 16 of the H98 FFI Addendum 1.0 is now
available from

  http://www.cse.unsw.edu.au/~chak/haskell/ffi/

Since the last version of the Addendum announced on
<haskell at haskell.org>, namely RC12, the FFI Task Force
decided on a slight generalisation of the interface to
finalizers as well as the addition of some support for
string marshalling for characters sets beyond ASCII.  A
detailed change log is at the end of this message.

I'd like to propose RC16 as the final form of Version 1.0 of
the FFI Addendum.  If you find any problems with this
version, please raise them within the next two weeks.

Cheers,
Manuel

-=-

Changes since RC15:
* 6.3: Footnote regarding __STDC_ISO_10646__ added to text introducing
       `CWString'.

Changes since RC14:
* 6.2: CWChar -> CWchar
* 6.3: - CWChar -> CWchar
       - Stated explicitly that memory allocated by `newCString' and friends
         can be deallocated by `MarshalAlloc.free'
       - Improved documentation

Changes since RC13:
* 5.3: Fixed typo
* 5.7: Fixed a mistake in the type of `peekByteOff' and `pokeByteOff' (the
       type variable constrained by `Storable' must be different from the
       parameter of the `Ptr')
* 6.3: Improved documentation

Changes since RC12:
* Acks : Added John Meacham
* 4.1.5: Bug fix courtesy of Wolfgang Thaller
* 5.5  : Added `FinalizerEnvPtr', `newForeignPtrEnv', and
         `addForeignPtrFinalizerEnv'
* 6.3  : Added John Meacham proposal for `wchar_t' support as well localised
         string marshalling; in particular, this adds `CWString' and
         `CWStringLen' as well as the `CWString' and the `CAString' family
         of marshalling routines.  In addition, `charIsRepresentable' was
         added. 


More information about the FFI mailing list