Changes between Version 18 and Version 19 of ForeignFunctionInterface


Ignore:
Timestamp:
Oct 10, 2009 6:04:19 AM (5 years ago)
Author:
chak@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ForeignFunctionInterface

    v18 v19  
    3232 * Haskell' keeps a subset of the libraries defined by Haskell 98 (but with their hierarchical names) and adds the FFI libraries. 
    3333 
    34 '''TODO:''' Decide whether we adopt the above tentative proposal. 
     34Moreover, the current libraries have grown somewhat since the original FFI Addendum.  Do we want to add the additions listed in the following: 
     35 
     36 * The module `Foreign.Marshal.Pool` (which may be used by the OpenGL binding) 
     37 * In `Foreign.C.Error`: `throwErrnoIfRetryMayBlock`, `throwErrnoIfRetryMayBlock_`, `throwErrnoIfMinus1RetryMayBlock`, `throwErrnoIfMinus1RetryMayBlock_`, `throwErrnoIfNullRetryMayBlock`, `throwErrnoPath`, `throwErrnoPathIf`, `throwErrnoPathIf_`, `throwErrnoPathIfNull`, `throwErrnoPathIfMinus1`, & `throwErrnoPathIfMinus1_` 
     38 * In `Foreign.ForeignPtr`: `finalizeForeignPtr` 
     39 * In `Foreign.Marshal.Array`: `withArrayLen`, `withArrayLen0` 
     40 * `Foreign.Marshal.Error` does actually omit some routines of the FFI Addendum (namely those to construct I/O errors).  I think we need to keep them in the FFI specification. 
     41 
     42'''TODO:'''  
     43 * Decide whether we adopt the above tentative proposal. 
     44 * Decide whether we want to adopt the additional module and functions. 
    3545 
    3646=== Reinitialisation after `hs_exit()` ===