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 _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
