Ian Ross
Ian Ross
@mitchty C2HS uses the language-c library to parse header files: the language-c package claims to deal with "all of C99 and a large set of GNU extensions", i.e. it's not...
@CThuleHansen Thanks for the report -- I'll take a look at this this week. I think you're correct in saying that C2HS just doesn't support this right now. Thinking about...
This turns out to be swinishly difficult to do right. I've started it, but got bogged down with other things. It _will_ get done though, I promise!
@mtolly This is because `{#const ...#}` only works for constants defined using `#define`, not for `enum` values (which is what `SFC_SET_VBR_ENCODING_QUALITY` is). That's obviously not very helpful, so let me...
@mjakob That's interesting. I'd never really thought about the fact that C2HS chases C type aliases, but _not_ Haskell ones! Something like your second attempt really ought to work with...
Urgh. No idea, I'm afraid. I don't have a Mac to test C2HS on, so OS X behaviour is a bit hit and miss. The only way I've ever been...
My previous efforts at debugging OS X problems have mostly consisted of browsing through various versions of the OS X C header files I found online and using the Travis...
Minimal test case: Tst.chs: ``` module Tst where #include "tst.h" {# enum Chk {underscoreToCase} #} ``` tst.h: ``` enum { a = 1 }; enum Chk { b = ((unsigned...
Probably a duplicate of #172, since that header uses `#pragma pack`.
The code appears to be out of date with respect to Hackage. I've just been using it within a Cabal sandbox I set up a long time ago. I've not...