[Issue 15838] New: Many Win32 API callback functions miss extern(Windows)
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Mar 27 00:14:59 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15838
          Issue ID: 15838
           Summary: Many Win32 API callback functions miss extern(Windows)
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: jiki at red.email.ne.jp
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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list