[Issue 22954] Header generator emits extern(C) member functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 29 09:58:45 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22954
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel updated dlang/dmd pull request #13915 "Fix - dtoh: Ignore
member functions with C linkage" fixing this issue:
- Fix 22954 - dtoh: Ignore member functions with C linkage
Those functions receive D mangling and hence aren't easily callable via
the header file. Note that C++ does the same for members in an
`extern "C"` aggregate (=> mangle as C++ symbol).
`
https://github.com/dlang/dmd/pull/13915
--
More information about the Digitalmars-d-bugs
mailing list