[c2hs] #17: c2hs assumes ccall when it should automagically
support stdcall for ffi imports
c2hs
cvs-ghc at haskell.org
Wed Jun 9 18:21:54 EDT 2010
#17: c2hs assumes ccall when it should automagically support stdcall for ffi
imports
--------------------+-------------------------------------------------------
Reporter: guest | Type: defect
Status: new | Priority: normal
Milestone: | Component: general
Version: 0.15.1 | Keywords:
--------------------+-------------------------------------------------------
Comment(by guest):
Replying to [comment:2 duncan]:
> Should be doable now that language-c parses the __attribute__'s
Hey guys, I wrote a patch for this a while ago:
http://github.com/jrockway/c2hs/commit/a3ac24e1c7d3f2ec542364643f4346caba1a4915
Supports the stdcall attributes for Windows swimmingly. And ccall still
works too.
--JonathanRockway (jon at jrock.us or jrockway on #haskell)
--
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/17#comment:3>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell
More information about the C2hs
mailing list