Support importing wide character literals from C headers #70848
Labels
clang importer
Area → compiler: The clang importer
feature
A feature request or implementation
Windows
Platform: Windows
Motivation
Windows uses a number of wide string literals for constants and it would be convenient to be import these directly without having to redeclare them and use the
.utf16
accessor on the string literals.Proposed solution
Have the ClangImporter import the types with guaranteed storage and
UnsafePointer<CWideChar>
accessor.Alternatives considered
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: