Re: garbage collection and NSConnection
Re: garbage collection and NSConnection
- Subject: Re: garbage collection and NSConnection
- From: "Michael Ash" <email@hidden>
- Date: Sun, 13 Jul 2008 16:19:21 -0400
On Sun, Jul 13, 2008 at 12:29 PM, Marcel Weiher <email@hidden> wrote:
>
> On Jul 12, 2008, at 13:42 , Michael Ash wrote:
>
http://www.opensource.apple.com/darwinsource/projects/apsl/CF-476.10/CFRuntime.h
>>
>> typedef struct __CFRuntimeBase {
>> uintptr_t _cfisa;
>> uint8_t _cfinfo[4];
>> #if __LP64__
>> uint32_t _rc;
>> #endif
>> } CFRuntimeBase;
>>
>> I guess this isn't the right one, then.
>
> If you look at the corresponding CFRuntime.c file, I think you'll find that
> there is logic there for treating part of the _cfinfo as a retain count
> (look for _CFRetain() )
So it does. That'll teach me to take CF structures at face value. Thanks.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden