mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
d61b8855e9
This is an ABI breaking change for Windows. `WCHAR` on Windows is mapped to `short` (`-fshort-wchar` makes it `unsigned short`). When C++ interop is enabled, `WCHAR` will be mapped to `wchar_t` which is then mapped to `short` (or `unsigned short` if `-fshort-wchar` is specified). Correct the mapping type to get the desired behaviour.
5 lines
51 B
Plaintext
5 lines
51 B
Plaintext
module unicode {
|
|
header "unicode.h"
|
|
export *
|
|
}
|