Permalink
Browse files

Bump language-c to 0.6

  • Loading branch information...
lambdageek committed Mar 1, 2017
1 parent 3d14979 commit b0a2798442b995e3615391683cdc6a69b6701939
Showing with 2 additions and 2 deletions.
  1. +1 −1 c2hs.cabal
  2. +1 −1 src/C2HS/Gen/Bind.hs
View
@@ -112,7 +112,7 @@ flag base3
Executable c2hs
Build-Depends: base >= 2 && < 5,
bytestring,
language-c >= 0.5 && < 0.6,
language-c >= 0.6 && < 0.7,
filepath,
dlist
View
@@ -2309,7 +2309,7 @@ extractCallingConvention cdecl
hasStdCallAttr = any isStdCallAttr . funAttrs
funAttrs (CDecl specs declrs _) =
let (_,attrs',_,_,_) = partitionDeclSpecs specs
let (_,attrs',_,_,_,_) = partitionDeclSpecs specs
in attrs' ++ funEndAttrs declrs ++ funPtrAttrs declrs
-- attrs after the function name, e.g. void foo() __attribute__((...));

0 comments on commit b0a2798

Please sign in to comment.