haskell / haskell/c2hs

_Bool type is broken

Open
#285 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
211
Forks
52
PR merge metrics
No merged PRs in 30d

Description

I am trying to make a binding to a function that looks like,

bool function (const char *);

and it just doesn't work. bool is a macro for the _Bool type in C99.
Anyway, when I run the c2hs, I get the following.

```
ex.chs:59: (column 3) [ERROR] >>> Internal wrapper error!
Something went wrong generating a bare structure wrapper.
makeArg:arg=False
```

any ideas?
thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.