[C2hs] [c2hs] #17: c2hs assumes ccall when it should automagically support stdcall for ffi imports
c2hs
cvs-ghc at haskell.org
Tue Oct 4 16:52:25 CEST 2011
#17: c2hs assumes ccall when it should automagically support stdcall for ffi
imports
--------------------+-------------------------------------------------------
Reporter: guest | Type: defect
Status: closed | Priority: normal
Milestone: | Component: general
Version: 0.15.1 | Resolution: fixed
Keywords: |
--------------------+-------------------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Applied, will be in version 0.16.4
{{{
Mon Jun 14 15:12:13 BST 2010 Duncan Coutts <duncan at haskell.org>
* Consider trailing stdcall attributes
For example: void foo() __attribute__((stdcall));
As well as: void __attribute__((stdcall)) foo();
Allow the stdcall as well as __stdcall__ attribute keyword,
all such gnu C attribute keywords exist in both forms.
Mon Jun 14 09:58:17 BST 2010 Jonathan Rockway <jon at jrock.us>
* automagically support stdcall calling convention when the header file
specifies it
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/17#comment:4>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell
More information about the C2hs
mailing list