Bug 15838 – Many Win32 API callback functions miss extern(Windows)
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2016-03-27T07:14:59Z
Last change time
2018-01-05T13:27:27Z
Keywords
pull
Assigned to
No Owner
Creator
jiki
Comments
Comment #0 by jiki — 2016-03-27T07:14:59Z
2.070 druntime comes with rich core.sys.windows.* headers for Windows.
So, each of their functions should have an exact linkage type.
Otherwise the calls to them will cause runtime errors.
I found a number of the mismatch for (only) the callback functions,
and will send a PR for it.