[D-runtime] [D-Programming-Language/druntime] ab73b0: core.sys.windows.winuser: Provide valid GetMonitor...

GitHub via D-runtime d-runtime at puremagic.com
Tue Mar 29 22:21:52 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: ab73b0a564aee713e3985974d346297d8032b574
      https://github.com/D-Programming-Language/druntime/commit/ab73b0a564aee713e3985974d346297d8032b574
  Author: Martin <noone at nowhere.com>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M src/core/sys/windows/winuser.d

  Log Message:
  -----------
  core.sys.windows.winuser: Provide valid GetMonitorInfo overloads

LDC isn't fooled by using the same mangled name for multiple C function
declarations with differing signatures (see DMD bugzilla 15217).

In the MS header, the ...EX structs derive from the non-EX ones, so a
pointer to an EX struct is implicitly converted to a pointer to the base
struct.

Provide extern(D) wrappers performing the explicitly required cast in D.


  Commit: 6a0d408be4387baf2cbf5d0a0596908728d233e3
      https://github.com/D-Programming-Language/druntime/commit/6a0d408be4387baf2cbf5d0a0596908728d233e3
  Author: Vladimir Panteleev <github.private at thecybershadow.net>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M src/core/sys/windows/winuser.d

  Log Message:
  -----------
  Merge pull request #1518 from kinke/winuser

core.sys.windows.winuser: Provide valid GetMonitorInfo overloads


Compare: https://github.com/D-Programming-Language/druntime/compare/5c54773be6d6...6a0d408be438


More information about the D-runtime mailing list