[Issue 7925] extern(C++) delegates?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 23 14:10:44 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=7925

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #13217 "fix Issue 7925 - extern(C++)
delegates" fixing this issue:

- fix Issue 7925 - extern(C++) delegates

  The linkage is already part of the type for delegates. Member functions
  for extern(C++) on Win32 use a different calling convention than other
  functions. This commit changes the calling convention of extern(C++)
  delegates for Win32 to match member functions. The calling convention
  for nested functions is also changed, because they can become delegates,
  too.

https://github.com/dlang/dmd/pull/13217

--


More information about the Digitalmars-d-bugs mailing list