[Haskell-cafe] getting data through foreign layer without marshalling

Donn Cave donn at avvanta.com
Mon Dec 14 03:03:30 EST 2009


Quoth Bernie Pope <florbitous at gmail.com>,
> 2009/12/14 Donn Cave <donn at avvanta.com>:
[...]

> I don't fully understand what you want to do, but perhaps you can use
> a StablePtr:
>
>    http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-StablePtr.html

Yes, thank you very much, that does seem to work, and looks like it
could be a better way to handle it.

	Donn Cave, donn at avvanta.com



More information about the Haskell-Cafe mailing list