[cvs-nhc98] cvs commit: nhc98/src/prelude/FFI FFI.hs ForeignPtr.hs MarshalAlloc.hs

Malcolm Wallace malcolm@glass.cse.ogi.edu
Thu, 12 Jun 2003 03:29:28 -0700


malcolm     2003/06/12 03:29:28 PDT

  Modified files:
    src/prelude/FFI      FFI.hs ForeignPtr.hs MarshalAlloc.hs 
  Log:
  Updates to the FFI in line with Release Candidate 11.
  Rename	newForeignPtr		-> newConcForeignPtr
  	addForeignPtrFinalizer	-> addConcForeignPtrFinalizer
  	foreignPtrToPtr		-> unsafeForeignPtrToPtr
  	newUnsafeForeignPtr	-> newForeignPtr
  	addUnsafeForeignPtrFinalizer	-> addForeignPtrFinalizer
  Add	newForeignPtr_	:: Ptr a -> ForeignPtr a
  	realloc		:: Storable b => Ptr a -> IO (Ptr b)
  	finalizerFree	:: FinalizerPtr a
  
  Revision  Changes    Path
  1.16      +6 -5      nhc98/src/prelude/FFI/FFI.hs
  1.6       +38 -21    nhc98/src/prelude/FFI/ForeignPtr.hs
  1.4       +23 -7     nhc98/src/prelude/FFI/MarshalAlloc.hs