mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The default ICU build will change the underlying type of the UChar type, with C++ using the builtin `char16_t` rather than `unsigned short`. This adjusts the interface to account for that. I've verified across Apple's implementation that they always use the `unsigned short` as the type for `UChar`. Since we cannot guarantee that the ICU interfaces are built the same way on all targets, especially when using the underlying system's ICU. Adjust the stubs implementation declaration to match the ICU header's declaration.
13 KiB
13 KiB