David Sankel wrote:

--- Wolfgang Thaller <[EMAIL PROTECTED]> wrote:
foreign import ccall "wrapper" mkCallback :: IO ()
-> FunPtr (IO ())

Answering my own question, this should be:


foreign import ccall "wrapper" mkCallback :: IO () ->
  IO( FunPtr (IO ()) )

Of course. Sorry for posting without thinking... :-/


Cheers,

Wolfgang

_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to