AFAIK, no. That's the whole point of StorableArrays. Why can't you use these instead of UArrays?
- Hal On Mon, 27 Oct 2003, heron_carvalho wrote: > Dear colleagues, > > In GHC/FFI, is there some way (is it possible ?) to > access DIRECTLY an array of UArray type (immutable) in a > sequential contiguous memory buffer (in C side, for > example) without to need to copy the array elements one > by one ? GHC hackers and implementors are wellcome... :-) > My interest is to transmit the array over a network using > MPI, but avoiding marshalling overheads. > > It is easy to do this with StorableArray's in the IO > monad, of course, but I need to use UArray. > > > Heron de Carvalho > > > > > __________________________________________________________________________ > Acabe com aquelas janelinhas que pulam na sua tela. > AntiPop-up UOL - É grátis! > http://antipopup.uol.com.br/ > > > _______________________________________________ > Glasgow-haskell-users mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users > -- Hal Daume III | [EMAIL PROTECTED] "Arrest this man, he talks in maths." | www.isi.edu/~hdaume _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users