Re: Question about floatValue on nil object
Re: Question about floatValue on nil object
- Subject: Re: Question about floatValue on nil object
- From: Finlay Dobbie <email@hidden>
- Date: Tue, 13 Sep 2005 12:56:02 +0100
On 13/09/05, Finlay Dobbie <email@hidden> wrote:
> On 13/09/05, Andrew Farmer <email@hidden> wrote:
> > Incidentally, don't depend on messages to nil objects returning nil.
> > Apple has stated that messages to nil will have undefined results
> > (including crashes) on the x86.
>
> No they haven't. The rules are exactly the same on x86: you can rely
> on a message to nil returning nil. You cannot rely on the results for
> a non-id sized type, especially floats and structs.
That should have been "non-id type".
-- Finlay
_______________________________________________
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