Sven Panne <[EMAIL PROTECTED]> writes: 
> 
  [...]
> 
> Aaaah! *lights going on*   But then I suggest that foreign export
> dynamic should be changed to return a stable pointer instead 
> of an Addr. This shouldn't break too much code, because both
> are CCallable.
> 

I don't see the need, since (deep breath) freeHaskellFunctionPtr()
drops the stable pointer for you when passed the Addr that f.e.d.
returns. That RTS entry point doesn't have a Haskell wrapper at
the moment, so you'll have to  'foreign import' to use it (or
_ccall_ it, as we did in the olden days ;)

--sigbjorn

Reply via email to