Re: Cocoa Classes from C++?
Re: Cocoa Classes from C++?
- Subject: Re: Cocoa Classes from C++?
- From: Jens Alfke <email@hidden>
- Date: Tue, 27 May 2008 21:09:35 -0700
On 27 May '08, at 8:59 PM, Bill Bumgarner wrote:
In this case, it will change the way that GC handles the pointer,
depending on how the class is compiled. GC is aware of the layout
of objects and will scan only the fields that are marked __strong or
are of an Objective-C object reference type.
But the pointer that's being lied about here is to a C++ object, which
the collector should be ignoring anyway, right?
(Or at least, to the collector a C++ object and a C struct must be
basically the same thing, so it's not going to get confused about this.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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