Re: [swift-users] Double pointer in ObjC function signature importing incorrectly in Swift 3?

2016-09-20 Thread first account 2 via swift-users
Sent from Alto On Tuesday, 20 September 2016 Jordan Rose via swift-users wrote: C represents pointers the other way around; that declaration says only the outer pointer is nullable. There are two things going on here: - Swift 2 made all pointers implicitly nullable, without using an optional

Re: [swift-users] Double pointer in ObjC function signature importing incorrectly in Swift 3?

2016-09-20 Thread Jordan Rose via swift-users
C represents pointers the other way around; that declaration says only the outer pointer is nullable. There are two things going on here: - Swift 2 made all pointers implicitly nullable, without using an optional type. Swift 3 makes that explicit. - Swift 2 had a bug that assumed that all pointe