ANN: H98 FFI Addendum 1.0, Release Candidate 15

Manuel M T Chakravarty chak at cse.unsw.edu.au
Wed Nov 12 00:57:09 EST 2003


Release Candidate 15 with all the changes discussed since
RC13 is now available from

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

The only open problem are a set of questions raised by Simon
and Ross to which I have previously answered with another
set of questions (see the attached message), which is were
the discussion stopped.  In order to get it going again, I
propose the following:

* We require from a FFI library implementation only that it
  supports CWString and the associated functions on
  platforms, which are Marlow sensible.

* On other platforms a FFI library is free to do what it
  wants (eg, not support these functions at all or attempt
  to implement something similar).

And here now a probably naive question of mine: Does the
notion of Marlow sensibility coincide with platforms that
follow ISO/IEC 10646?

Cheers,
Manuel

-=-

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
-------------- next part --------------
An embedded message was scrubbed...
From: Manuel M T Chakravarty <chak at cse.unsw.edu.au>
Subject: Re: ANN: H98 FFI Addendum 1.0, Release Candidate 13
Date: Thu, 06 Nov 2003 16:07:56 +1100 (EST)
Size: 4679
Url: http://www.haskell.org//pipermail/ffi/attachments/20031112/e0459e85/attachment.eml


More information about the FFI mailing list