mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -1816,7 +1816,7 @@ NSStringAPIs.test("CompareStringsWithUnpairedSurrogates")
|
||||
var CStringTests = TestSuite("CStringTests")
|
||||
|
||||
func getNullCString() -> UnsafeMutablePointer<CChar> {
|
||||
return .null()
|
||||
return nil
|
||||
}
|
||||
|
||||
func getASCIICString() -> (UnsafeMutablePointer<CChar>, dealloc: ()->()) {
|
||||
|
||||
Reference in New Issue
Block a user