• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Which flavor of objc_msgSend for NSSize return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Which flavor of objc_msgSend for NSSize return
      • From: Chris Hanson <email@hidden>
    • Re: Which flavor of objc_msgSend for NSSize return
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: NSWorkspace and unmounting USB drives
  • Next by Date: Re: Which flavor of objc_msgSend for NSSize return
  • Previous by thread: kCGStatusWindowLevel
  • Next by thread: Re: Which flavor of objc_msgSend for NSSize return
  • Index(es):
    • Date
    • Thread