blob: c1652c2288cbde253fa23a592a9824c943881c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
T5664.hs:15:1:
Unacceptable argument type in foreign declaration:
Expected: Ptr/FunPtr (Int32 -> IO ()),
Actual: FunPtr (D -> IO ())
When checking declaration:
foreign import ccall safe "dynamic" mkFun3
:: FunPtr (D -> IO ()) -> CInt -> IO ()
T5664.hs:24:1:
Unacceptable result type in foreign declaration:
Expected: Ptr/FunPtr (IO Int32),
Actual: FunPtr (IO D)
When checking declaration:
foreign import ccall safe "wrapper" mkCallBack3
:: IO CInt -> IO (FunPtr (IO D))
|