Changes between Version 9 and Version 10 of ForeignFunctionInterface


Ignore:
Timestamp:
Apr 29, 2006 7:46:40 PM (9 years ago)
Author:
chak@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ForeignFunctionInterface

    v9 v10  
    8080Additions:
    8181 * We should also have `castCharToCUChar`, `castCUCharToChar`, `castCharToCSChar`, and `castCSCharToChar` (i.e., not only for CChar of which it is platform-dependent whether it is signed or not).
     82 * Types from ISO C99 (with conversion routines):
     83{{{
     84WordPtr uintptr_t
     85WordMax uintmax_t
     86IntPtr  intptr_t
     87IntMax  intmax_t
     88
     89ptrToWordPtr :: Ptr a -> WordPtr
     90wordPtrToPtr :: WordPtr -> Ptr a
     91
     92ptrToIntPtr :: Ptr a -> IntPtr
     93intPtrToPtr :: IntPtr -> Ptr a
     94}}}