Which flavor of objc_msgSend for NSSize return
Which flavor of objc_msgSend for NSSize return
- Subject: Which flavor of objc_msgSend for NSSize return
- From: Rosyna <email@hidden>
- Date: Fri, 11 May 2007 12:13:10 -0700
I'm trying to call a method that returns an NSSize on i386. Do I use
objc_msgSend, _fpret, or _stret?
NSSize is small, so the size qualifies for the plain objc_msgSend.
But it's two floating points, which may change the landscape.
I had thought this situation was specifically mentioned in the
Universal Binary Programming guides but now can't seem to find it.
It's nearly impossible for the receiver of the message to be NULL, so
that's not an issue (and I check to make sure it's not NULL anyways).
--
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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