← Back to index
|
Original Bugzilla link
Bug 19466 – functionLinkage documentation omits some values
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-12-04T22:50:41Z
Last change time
2018-12-05T10:57:00Z
Assigned to
No Owner
Creator
John Chapman
Comments
Comment #0
by johnch_atms — 2018-12-04T22:50:41Z
std.traits.functionLinkage wraps __traits(getLinkage,...) but the documentation doesn't list all its values. The full list (from
https://dlang.org/spec/traits.html#getLinkage
and
https://dlang.org/spec/attribute.html#LinkageAttribute)
that should appear in the Returns section is: "D", "C", "C++", "Windows", "Pascal", "Objective-C" and "System".
Comment #1
by github-bugzilla — 2018-12-05T10:56:59Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/01784b0ee984ae55cb614a9c16f31e6c61c6951c
Fix for issue 19466
https://github.com/dlang/phobos/commit/627a8171d5bf91dfddcd0371970ece28b1b332e7
Merge pull request #6793 from jsatellite/issue-19466 Fix issue 19466 - functionLinkage documentation omits some values merged-on-behalf-of: Nicholas Wilson <
[email protected]
>