
19 Oct
2005
19 Oct
'05
7:41 a.m.
On Tuesday 18 October 2005 12:12, Krasimir Angelov wrote:
ByteArray# can be passed to C functions as well. The only problem is with mmap which cann't be implemented with arrays. mmap returns a pointer to the mapped file which is outside the Haskell heap.
Wouldn't there be problems, too, with C routines that internally store the given pointer for later access? (GC moving the ByteArray# around...) Ben