Re: Question about floatValue on nil object
Re: Question about floatValue on nil object
- Subject: Re: Question about floatValue on nil object
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 14 Sep 2005 14:29:02 -0700
On Sep 13, 2005, at 2:15 AM, j o a r wrote:
It's a bit unfortunate that these three links doesn't quite tell
the same story. Note that the second page allows BOOL, int,
pointer, besides object! I've filed a bug report on the
documentation to see if they can clarify their position on this topic.
[With thanks to GP]:
The strict position was originally that only `id`-typed return values
are defined. In reality, return types with defined values are the
following:
* any pointer type
* any integer scalar of size less than or equal to sizeof(void*)
Return types with undefined values include:
* any struct type
* any large integer scalar
* any floating-point type
* any vector type
mmalc
_______________________________________________
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