[Issue 15322] New: version(Unicode) should affect only default aliases
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Nov 12 00:27:31 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15322
Issue ID: 15322
Summary: version(Unicode) should affect only default aliases
Product: D
Version: D2
Hardware: All
URL: https://msdn.microsoft.com/en-us/library/windows/deskt
op/ms682627%28v=vs.85%29.aspx
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: dfj1esp02 at sneakemail.com
If version(Unicode) is not defined, windows bindings should still have unicode
declarations.
Declaration of PENUM_PAGE_FILE_CALLBACK in psapi is incorrectly versioned, as a
consequence unicode function EnumPageFilesW is declared as taking ANSI
callback. Unicode and ANSI versions of PENUM_PAGE_FILE_CALLBACK
(PENUM_PAGE_FILE_CALLBACKW and PENUM_PAGE_FILE_CALLBACKA respectively) should
be declared unconditionally and PENUM_PAGE_FILE_CALLBACK alias should be
versioned.
--
More information about the Digitalmars-d-bugs
mailing list