cvs commit: hugs98/lib/exts ForeignPtr.hs MarshalAlloc.hs
hugs98/src HsFFI.h builtin.c
Alastair Reid
reid@glass.cse.ogi.edu
Wed, 18 Sep 2002 09:09:22 -0700
reid 2002/09/18 09:09:22 PDT
Modified files:
lib/exts ForeignPtr.hs MarshalAlloc.hs
src HsFFI.h builtin.c
Log:
To bring Hugs into line with FFI RC7, I added:
void hs_perform_gc(void);
mallocForeignPtr
mallocForeignPtrBytes
To add the last two, I had to get hold of &free from somewhere. I
decided that MarshalAlloc was the best choice but this isn't in the
ffi spec - I'll mail the ffi folk about it.
Revision Changes Path
1.6 +14 -0 hugs98/lib/exts/ForeignPtr.hs
1.3 +4 -1 hugs98/lib/exts/MarshalAlloc.hs
1.7 +1 -1 hugs98/src/HsFFI.h
1.33 +7 -2 hugs98/src/builtin.c