swift
6180387a - [cxx-interop] Adding std.string initializer for UnsafePointer<CChar>?

Commit
2 years ago
[cxx-interop] Adding std.string initializer for UnsafePointer<CChar>? Currently without an initializer for the unsafe char pointer type swiftc hits an assert around not being able to handle conversions of unsafe pointers with Any type. This patch adds the ability to convert to a std::string. This is to address issue https://github.com/apple/swift/issues/61218
Author
Committer
Parents
Loading