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