You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a function that returns a Bool. c2hs turns {#fun wlc_init as ^ { with*WLCInterface', withArrayLen [String]' } ->Bool' #}(ignore the withArrayLen, I still need to figure the rest out) into
foreign import ccall safe "WLC.chs.h wlc_init"
wlcInit'_ :: ((WLCInterfacePtr) -> (CInt -> (IO CBool)))
`
However CBool does not exist in Foreign.C.Types. I couldn't find it via Hayoo or Hoogle either.