mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "Migrate from UnsafePointer<Void> to UnsafeRawPointer. (#3724)"
This reverts commit ece0951924.
This results in lldb failues on linux that I can't readily debug.
Backing out until they can be resolved.
This commit is contained in:
@@ -782,7 +782,7 @@ extension String {
|
||||
/// in a given encoding, and optionally frees the buffer. WARNING:
|
||||
/// this initializer is not memory-safe!
|
||||
public init?(
|
||||
bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int,
|
||||
bytesNoCopy bytes: UnsafeMutablePointer<Void>, length: Int,
|
||||
encoding: Encoding, freeWhenDone flag: Bool
|
||||
) {
|
||||
if let ns = NSString(
|
||||
|
||||
Reference in New Issue
Block a user