Re: NSNumber : method to return pointer to represented value
Re: NSNumber : method to return pointer to represented value
- Subject: Re: NSNumber : method to return pointer to represented value
- From: Ken Thomases <email@hidden>
- Date: Sat, 22 Feb 2014 10:57:44 -0600
On Feb 22, 2014, at 9:43 AM, Ken Thomases wrote:
> On Feb 22, 2014, at 9:33 AM, email@hidden wrote:
>
>> -getValue: populates a pointer to a type matching -objCType.
>
> But there's no guarantee about what that type is. There's no guarantee that it's a scalar rather than a structure, say.
Actually, I've just seen the note in the NSNumber docs that say there's a restricted set of types that its -objCType method is allowed to return and they're all scalar. So, on that one point, I was wrong.
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden