Re: (RS)What's the type of a selector?[2]
Re: (RS)What's the type of a selector?[2]
- Subject: Re: (RS)What's the type of a selector?[2]
- From: David Duncan <email@hidden>
- Date: Mon, 30 Oct 2006 09:02:39 -0800
On Oct 29, 2006, at 5:34 AM, Alastair Houghton wrote:
Also, Bill's right that you should use the API to get the string
value. I don't know (because I haven't checked) whether casting to
char * still works on the 64-bit ObjC ABI in Leopard, for
instance. It probably does, but using the API means you're
guaranteed your code will work. Relying on implementation details
doesn't; even documented ones sometimes change.
Don't rely on your knowledge of the 32-bit ObjC ABI to guide you in
the 64-bit ABI. Implementation details are changing, and writing code
that relies on these details will only cause you issues when you
reach the point in time that you decide you want to move your
application to 64-bit.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden