Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about floatValue on nil object




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Question about floatValue on nil object (From: MichaĆ«l Parrot <email@hidden>)
 >Re: Question about floatValue on nil object (From: Jack Nutting <email@hidden>)
 >Re: Question about floatValue on nil object (From: j o a r <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.