Per design discussion today, rename UnsafePointer ".pointee" to ".memory".

Swift SVN r18269
This commit is contained in:
Ted Kremenek
2014-05-17 20:35:16 +00:00
parent 0d5b40a0e8
commit eab7f90a81
22 changed files with 54 additions and 54 deletions

View File

@@ -250,8 +250,8 @@ extension UTF16 {
}
else {
for i in 0..count {
let u16 = T.toUTF16CodeUnit((source + i).pointee)
(destination + i).pointee = U.fromUTF16CodeUnit(u16)
let u16 = T.toUTF16CodeUnit((source + i).memory)
(destination + i).memory = U.fromUTF16CodeUnit(u16)
}
}
}