Stop using Unsafe[Mutable]Pointer.null()

This API will be removed per rdar://19159145 (it is redundant with nil
literals and the default initializer).

Swift SVN r24795
This commit is contained in:
Dmitri Hrybenko
2015-01-28 08:42:26 +00:00
parent 1437427edf
commit 311957061a
8 changed files with 15 additions and 15 deletions

View File

@@ -1816,7 +1816,7 @@ NSStringAPIs.test("CompareStringsWithUnpairedSurrogates")
var CStringTests = TestSuite("CStringTests")
func getNullCString() -> UnsafeMutablePointer<CChar> {
return .null()
return nil
}
func getASCIICString() -> (UnsafeMutablePointer<CChar>, dealloc: ()->()) {