gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using autorelease in apple's CF


From: Luboš Doležel
Subject: Re: using autorelease in apple's CF
Date: Tue, 12 May 2015 10:34:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 05/12/2015 09:34 AM, Alexey Perevalov wrote:
> Hello gnustep developers!
> 
> I'm interesting in using autorelease pool from apple's CF
> (http://www.opensource.apple.com/source/CF/,
> http://www.opensource.apple.com/source/CFNetwork/).
> In gnustep implementation autorelease message ([(object) autorelease])
> for allocated object is sending. I'm talking about
> svn.gna.org/svn/gnustep/libs/base/trunk, whole implementation was made
> on objective C. But CF published on opensource.apple.com written on C.
> So the question how they are putting objects into autorelease pool? My
> assumption, somewhere should be objc_autorelease invocation, but where?
> 
> BR
> Alexey

You're confusing things. CF doesn't have any functions for
autoreleasing. You can only autorelease via Foundation, which was never
open sourced by Apple.

-- 
Luboš Doležel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]