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:
Andrew Trick
2016-07-26 02:50:57 -07:00
parent b65244805a
commit 0ed9ee8dee
74 changed files with 307 additions and 339 deletions

View File

@@ -41,7 +41,7 @@ internal func NS_Swift_performErrorRecoverySelector(
delegate: AnyObject?,
selector: Selector,
success: ObjCBool,
contextInfo: UnsafeMutableRawPointer?)
contextInfo: UnsafeMutablePointer<Void>?)
/// Class that implements the informal protocol
/// NSErrorRecoveryAttempting, which is used by NSError when it
@@ -52,7 +52,7 @@ class _NSErrorRecoveryAttempter {
optionIndex recoveryOptionIndex: Int,
delegate: AnyObject?,
didRecoverSelector: Selector,
contextInfo: UnsafeMutableRawPointer?) {
contextInfo: UnsafeMutablePointer<Void>?) {
let error = nsError as Error as! RecoverableError
error.attemptRecovery(optionIndex: recoveryOptionIndex) { success in
NS_Swift_performErrorRecoverySelector(