Re: [swift-dev] swift_retainCount in CoreFoundation

2016-01-06 Thread Joe Groff via swift-dev
> On Jan 4, 2016, at 12:10 PM, Tony Parker wrote: > > Hi Joe, > > I think we can probably elide CFGetRetainCount from the corelibs-foundation. > It’s almost always an anti-pattern to check a retain count anyway (as I’m > sure you’re aware since you’re trying to kill the swift version of it).

Re: [swift-dev] swift_retainCount in CoreFoundation

2016-01-04 Thread Luke Howard via swift-dev
Looks like it was killed in d430c06f. > On 5 Jan 2016, at 7:10 AM, Tony Parker via swift-dev > wrote: > > Hi Joe, > > I think we can probably elide CFGetRetainCount from the corelibs-foundation. > It’s almost always an anti-pattern to check a retain count anyway (as I’m > sure you’re aware s

Re: [swift-dev] swift_retainCount in CoreFoundation

2016-01-04 Thread Tony Parker via swift-dev
Hi Joe, I think we can probably elide CFGetRetainCount from the corelibs-foundation. It’s almost always an anti-pattern to check a retain count anyway (as I’m sure you’re aware since you’re trying to kill the swift version of it). File a bug for us and we’ll get on it. Thanks, - Tony > On Dec

Re: [swift-dev] swift_retainCount in CoreFoundation

2015-12-26 Thread Joe Groff via swift-dev
> On Dec 26, 2015, at 12:52 PM, Philippe Hausler wrote: > > >> On Dec 26, 2015, at 12:31 PM, Joe Groff > > wrote: >> >>> >>> On Dec 25, 2015, at 9:02 PM, Philippe Hausler >> > wrote: >>> >>> > On Dec 22, 2015, at 1:08 PM, Joe Groff via swif

Re: [swift-dev] swift_retainCount in CoreFoundation

2015-12-26 Thread Philippe Hausler via swift-dev
> On Dec 26, 2015, at 12:31 PM, Joe Groff wrote: > >> >> On Dec 25, 2015, at 9:02 PM, Philippe Hausler > > wrote: >> >> > On Dec 22, 2015, at 1:08 PM, Joe Groff via swift-dev > > swift.org > wrote: >> > >> > It loo

Re: [swift-dev] swift_retainCount in CoreFoundation

2015-12-26 Thread Joe Groff via swift-dev
> On Dec 25, 2015, at 9:02 PM, Philippe Hausler wrote: > > > On Dec 22, 2015, at 1:08 PM, Joe Groff via swift-dev > swift.org > wrote: > > > > It looks like the corelibs implementation of CoreFoundation references > > swift_retainCount in or

Re: [swift-dev] swift_retainCount in CoreFoundation

2015-12-25 Thread Philippe Hausler via swift-dev
> On Dec 22, 2015, at 1:08 PM, Joe Groff via swift-dev > wrote: > > It looks like the corelibs implementation of CoreFoundation references > swift_retainCount in order to implement CFGetRetainCount. Is getting the > retain count necessary to C

Re: [swift-dev] swift_retainCount in CoreFoundation

2015-12-22 Thread Joe Groff via swift-dev
> On Dec 22, 2015, at 1:08 PM, Joe Groff via swift-dev > wrote: > > It looks like the corelibs implementation of CoreFoundation references > swift_retainCount in order to implement CFGetRetainCount. Is getting the > retain count necessary to CF functionality, or can these functions be removed

[swift-dev] swift_retainCount in CoreFoundation

2015-12-22 Thread Joe Groff via swift-dev
It looks like the corelibs implementation of CoreFoundation references swift_retainCount in order to implement CFGetRetainCount. Is getting the retain count necessary to CF functionality, or can these functions be removed? -Joe ___ swift-dev mailing li