• 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
Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Runtime difference on "some" hardware? (Was: Re: Instance method declaration)


  • Subject: Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 22 May 2006 00:27:51 -0400

On May 21, 2006, at 10:41 PM, Erik Buck wrote:

More importantly, on some hardware platforms, different Objective-C runtime functions are called based on the expected return type of the message being sent.

On *some* platforms? That makes me nervous...

In CamelBones, to call Objective-C methods from Perl, I use ffcall to assemble a stack frame and call either objc_msgSend() or objc_msgSend_stret() depending on the declared return type.

That's been working great for quite a while on PPC, so I assume that "some platforms" must mean Intel. But, I've had very reliable reports that CamelBones apps (well, one app) built as UBs run fine on Intel.

So, what am I missing? It appears to me that both of the official Mac hardware platforms behave as you're describing above. Were you referring to the GNU runtime? Come to think of it, I hope you did mean GNU... that might help explain the problems I've had porting my code to GNUStep.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
      • From: Nick Zitzmann <email@hidden>
References: 
 >Re: Instance method declaration (From: Erik Buck <email@hidden>)

  • Prev by Date: Re: Instance method declaration
  • Next by Date: Re: Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
  • Previous by thread: Re: Instance method declaration
  • Next by thread: Re: Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
  • Index(es):
    • Date
    • Thread