[Haskell-cafe] FFI and modifying haskell memory
joelr1 at gmail.com
Sat Oct 29 08:27:25 EDT 2005
So both with and allocaBytes allocate bytes on the stack then, correct?
On Oct 29, 2005, at 1:13 PM, Sven Panne wrote:
> In a nutshell: "with" is not better than "allocaBytes", it is
> different. "with" can be used to pass a Storable Haskell value in a
> memory buffer to a function, while "allocaBytes" only does plain
> memory allocation.
More information about the Haskell-Cafe