
25 Sep
2002
25 Sep
'02
1:49 p.m.
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