cvs commit: hugs98/src storage.h storage.c iomonad.c hugs98/lib/exts ForeignPtr.hs

ross@glass.cse.ogi.edu ross@glass.cse.ogi.edu
Wed, 25 Sep 2002 06:49:46 -0700


ross        2002/09/25 06:49:46 PDT

  Modified files:
    src                  storage.h storage.c iomonad.c 
    lib/exts             ForeignPtr.hs 
  Log:
  Implement addForeignPtrFinalizer.  Now "MallocPtr"s have a list of
  finalizers, rather than just one.  They are executed in the reverse
  order to the order they are added.
  
  Also fixed an obscure off-by-one error in a use of mallocPtr_hw
  (would only have bitten if the table were full).
  
  (The hierarchical version remains broken over the ptr_free issue.)
  
  Revision  Changes    Path
  1.44      +7 -5      hugs98/src/storage.h
  1.51      +19 -10    hugs98/src/storage.c
  1.34      +16 -5     hugs98/src/iomonad.c
  1.7       +2 -3      hugs98/lib/exts/ForeignPtr.hs