It seems that you are right. The function type is however automatically
generated by wxdirect, therefore an update for wxdirect is needed to get
the proper function type. (The lexer/parser does not recognize the C types
long* and long& properly.)
Regards,
Henk-Jan van Tuyl
On Thu, 04 Jan 2018 21:23:44 +0100, Henning Thielemann
<le...@he...> wrote:
>
> wxcore documentation [1] says:
>
> textCtrlGetSelection :: TextCtrl a -> Ptr b -> Ptr c -> IO ()
>
> Is this correct? I assume b and c should be CInt.
> `
>
> [1]
> https://hackage.haskell.org/package/wxcore-0.92.3.0/docs/Graphics-UI-WXCore-WxcClassesMZ.html#v:textCtrlGetSelection
>
--
Message from Stanford University:
Folding@home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://foldingathome.stanford.edu/
--
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
|