Giter VIP home page Giter VIP logo

Comments (1)

ian-ross avatar ian-ross commented on June 7, 2024

Original comment date: 2009-08-03T16:36:00-0700


any news on this :\

Should be doable now that language-c parses the attribute's

Replying to 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@� or jrockway on #haskell)

Applied, will be in version 0.16.4

Mon Jun 14 15:12:13 BST 2010  Duncan Coutts <[email protected]>
  * 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 <[email protected]>
  * automagically support stdcall calling convention when the header file specifies it

from c2hs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.