Bug 15958 – Missing extern(Windows) of core.sys.windows functions

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2016-04-26T11:00:00Z
Last change time
2016-10-01T11:44:43Z
Keywords
pull
Assigned to
nobody
Creator
jiki

Comments

Comment #0 by jiki — 2016-04-26T11:00:13Z
Win32 bindings came with 2.070. So most functions in those modules have extern(Windows) linkages, but some of them misses. The wrong linkage seems to get link failure. I'll send a PR for them.
Comment #1 by jiki — 2016-04-26T13:49:12Z
Comment #2 by github-bugzilla — 2016-04-26T18:15:13Z
Commit pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/7d84c696f208ae562e769e0321ace8688a0131bd Merge pull request #1550 from qchikara/pr-winapi-linkage Fix Issue 15958 - Missing extern(Windows) of core.sys.windows functions
Comment #3 by github-bugzilla — 2016-10-01T11:44:43Z
Commit pushed to stable at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/7d84c696f208ae562e769e0321ace8688a0131bd Merge pull request #1550 from qchikara/pr-winapi-linkage