How to implement fastcall ?

Mike Parker aldacron at gmail.com
Mon Sep 21 11:20:52 UTC 2020


On Monday, 21 September 2020 at 11:14:06 UTC, Виталий Фадеев 
wrote:
> How to implement fastcall ?
> ( stdcall is calling convention for pass function arguments via 
> registers )

The supported linkage attributes are here:

https://dlang.org/spec/attribute.html#linkage

`extern(Windows)` is stdcall, `extern(C)` is cdecl. Unless it's a 
hidden feature that I'm unaware of, fastcall is not supported.


More information about the Digitalmars-d-learn mailing list