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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 30 13:43:36 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13217 "fix Issue 7925 - extern(C++) delegates" was
merged into master:

- e6e1450f24691ef56892bddaaedbd0e677060de3 by Tim Schendekehl:
  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