Re: BOOL returned via -performSelctor: not BOOL on 64-bit system
Re: BOOL returned via -performSelctor: not BOOL on 64-bit system
- Subject: Re: BOOL returned via -performSelctor: not BOOL on 64-bit system
- From: Michael Ash <email@hidden>
- Date: Tue, 8 Jun 2010 14:24:53 -0700
> I concede that you're technically correct. But pragmatically, the CPU register used to return integer and pointer values to the caller has always been the same register for both Motorola and Intel processors since as long as I can remember programming in C -- and that's been awhile.
No need to have different registers for this to break. For example, an
ABI which merely specified that 8-bit values be returned in the top of
registers instead of the bottom would be enough to sink you. I don't
think anything does this now, but on the other hand your previous code
worked just fine on existing hardware at the time too....
Mike
_______________________________________________
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