March 29, 2022 [Issue 22954] Header generator emits extern(C) member functions | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22954 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@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 -- | ||||
March 29, 2022 [Issue 22954] Header generator emits extern(C) member functions | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22954 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #13915 "Fix 22954 - dtoh: Ignore member functions with C linkage" was merged into master: - 29d1c5a0bd08b7b24d7f82029baaf44e066b0e98 by MoonlightSentinel: 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 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply