Skip to content

Not in scope: type constructor or class 'CBool' #127

Closed
@cocreature

Description

@cocreature

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions