Bug 24012 – [spec/cpp_interface] _d_dynamicArray generated by -HC not documented

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2023-06-24T16:42:15Z
Last change time
2023-07-17T21:17:57Z
Keywords
pull
Assigned to
No Owner
Creator
Nick Treleaven

Comments

Comment #0 by nick — 2023-06-24T16:42:15Z
extern (C) const(char)[] slice; Note extern (C), not extern (C++) - see issue 18716. dmd -HC generates the following C++ declaration: extern "C" _d_dynamicArray< const char > slice; PR incoming.
Comment #1 by dlang-bot — 2023-06-24T16:45:35Z
@ntrel created dlang/dlang.org pull request #3647 "Fix Issue 24012 - [spec/cpp_interface] _d_dynamicArray generated by -…" fixing this issue: - Fix Issue 24012 - [spec/cpp_interface] _d_dynamicArray generated by -HC not documented https://github.com/dlang/dlang.org/pull/3647
Comment #2 by dlang-bot — 2023-07-17T21:17:57Z
dlang/dlang.org pull request #3647 "Fix Issue 24012 - [spec/cpp_interface] _d_dynamicArray generated by -…" was merged into master: - 5fc16320b8b0d9c9a983daef68fa6c243f5f7811 by Nick Treleaven: Fix Issue 24012 - [spec/cpp_interface] _d_dynamicArray generated by -HC not documented https://github.com/dlang/dlang.org/pull/3647